public enum ProxyProtocolType extends java.lang.Enum<ProxyProtocolType>
Enum Constant and Description |
---|
All
A proxy for all supported protocols that will be used in case no protocol-specific proxy is available
|
FTP
File Transfer Protocol (FTP)
|
HTTP
Hypertext Transfer Protocol (HTTP)
|
HTTPS
Hypertext Transfer Protocol Secure (HTTPS)
|
Modifier and Type | Method and Description |
---|---|
static ProxyProtocolType |
fromInt(int i) |
static ProxyProtocolType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProxyProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyProtocolType HTTP
public static final ProxyProtocolType HTTPS
public static final ProxyProtocolType FTP
public static final ProxyProtocolType All
public static ProxyProtocolType[] values()
for (ProxyProtocolType c : ProxyProtocolType.values()) System.out.println(c);
public static ProxyProtocolType 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 nullpublic static ProxyProtocolType fromInt(int i)