public static enum ProxyInfo.ProxyType extends java.lang.Enum<ProxyInfo.ProxyType>
Enum Constant and Description |
---|
HTTP
HTTP proxy type.
|
NONE
Proxy is not used.
|
SOCKS4
Proxy type socks4.
|
SOCKS5
Proxy type socks5.
|
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 null
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.