public static enum Broker.ProxyType extends Enum<Broker.ProxyType>
| Modifier and Type | Method and Description |
|---|---|
static Broker.ProxyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Broker.ProxyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Broker.ProxyType HTTP
public static final Broker.ProxyType SOCKS4
public static final Broker.ProxyType SOCKS5
public static Broker.ProxyType[] values()
for (Broker.ProxyType c : Broker.ProxyType.values()) System.out.println(c);
public static Broker.ProxyType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is null