com.ning.http.client
public static enum ProxyServer.Protocol extends java.lang.Enum<ProxyServer.Protocol>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getProtocol() |
java.lang.String |
toString() |
static ProxyServer.Protocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProxyServer.Protocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProxyServer.Protocol HTTP
public static final ProxyServer.Protocol HTTPS
public static final ProxyServer.Protocol NTLM
public static final ProxyServer.Protocol KERBEROS
public static final ProxyServer.Protocol SPNEGO
public static ProxyServer.Protocol[] values()
for (ProxyServer.Protocol c : ProxyServer.Protocol.values()) System.out.println(c);
public static ProxyServer.Protocol 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 java.lang.String getProtocol()
public java.lang.String toString()
toString
in class java.lang.Enum<ProxyServer.Protocol>
Copyright © 2014. All Rights Reserved.