-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathType.php
More file actions
51 lines (44 loc) · 1.5 KB
/
Type.php
File metadata and controls
51 lines (44 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php
declare(strict_types=1);
namespace PHPJava\Packages\java\net\Proxy;
use PHPJava\Exceptions\NotImplementedException;
use PHPJava\Packages\java\lang\Enum;
// use PHPJava\Packages\java\io\Serializable;
// use PHPJava\Packages\java\lang\Comparable;
/**
* The `Type` class was auto generated.
*
* @parent \PHPJava\Packages\java\lang\Object_
* @parent \PHPJava\Packages\java\lang\Enum
*/
class Type extends Enum // implements Serializable, Comparable
{
// Represents a direct connection, or the absence of a proxy.
const DIRECT = 'DIRECT';
// Represents proxy for high level protocols such as HTTP or FTP.
const HTTP = 'HTTP';
// Represents a SOCKS (V4 or V5) proxy.
const SOCKS = 'SOCKS';
/**
* Returns the enum constant of this type with the specified name.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#valueOf
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_valueOf($a = null)
{
throw new NotImplementedException(__METHOD__);
}
/**
* Returns an array containing the constants of this enum type, inthe order they are declared.
*
* @see https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/net/package-summary.html#values
* @param null|mixed $a
* @throws NotImplementedException
*/
public static function static_values($a = null)
{
throw new NotImplementedException(__METHOD__);
}
}