public enum ProxyOrder extends java.lang.Enum<ProxyOrder>
| Enum Constant and Description |
|---|
ALWAYSPROXY
A connection to the proxy server will be attempted.
|
NEVERPROXY
A connection to the authority server will be attempted.
|
PROXYFIRST
A connection to the proxy server will be attempted first.
|
PROXYLAST
A connection to the authority server will be attempted first.
|
| Modifier and Type | Method and Description |
|---|---|
static ProxyOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProxyOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyOrder PROXYFIRST
public static final ProxyOrder PROXYLAST
public static final ProxyOrder NEVERPROXY
public static final ProxyOrder ALWAYSPROXY
public static ProxyOrder[] values()
for (ProxyOrder c : ProxyOrder.values()) System.out.println(c);
public static ProxyOrder 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