java.net
Enum Proxy.Type
java.lang.Object
java.lang.Enum
java.net.Proxy.Type
- All Implemented Interfaces:
- Comparable, Serializable
- Enclosing class:
- Proxy
- public static enum Proxy.Type
- extends Enum<Proxy.Type>
Represents the proxy type.
DIRECT
means a direct connection, or No Proxy
HTTP
means a HTTP proxy and is only meaningful for
high level protocols like http or ftp.
SOCKS
means a SOCKS (V4 or V5) proxy. It is meaningful
down to the socket level.
DIRECT
public static final Proxy.Type DIRECT
HTTP
public static final Proxy.Type HTTP
SOCKS
public static final Proxy.Type SOCKS
values
public static final Proxy.Type[] values()
valueOf
public static Proxy.Type valueOf(String name)