public static enum ProxyInfo.ProxyType extends java.lang.Enum<ProxyInfo.ProxyType>
Modifier and Type | Method and Description |
---|---|
static ProxyInfo.ProxyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProxyInfo.ProxyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyInfo.ProxyType NONE
public static final ProxyInfo.ProxyType HTTP
public static final ProxyInfo.ProxyType SOCKS4
public static final ProxyInfo.ProxyType SOCKS5
public static ProxyInfo.ProxyType[] values()
for (ProxyInfo.ProxyType c : ProxyInfo.ProxyType.values()) System.out.println(c);
public static ProxyInfo.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 nullCopyright © 2003-present Jodd Team