public static enum Proxy.ProxyType extends java.lang.Enum<Proxy.ProxyType>
Enum Constant and Description |
---|
AUTODETECT |
DIRECT |
MANUAL |
PAC |
RESERVED_1 |
SYSTEM |
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static Proxy.ProxyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Proxy.ProxyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Proxy.ProxyType DIRECT
public static final Proxy.ProxyType MANUAL
public static final Proxy.ProxyType PAC
public static final Proxy.ProxyType RESERVED_1
public static final Proxy.ProxyType AUTODETECT
public static final Proxy.ProxyType SYSTEM
public static final Proxy.ProxyType UNSPECIFIED
public static Proxy.ProxyType[] values()
for (Proxy.ProxyType c : Proxy.ProxyType.values()) System.out.println(c);
public static Proxy.ProxyType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null