public static enum ProxyServer.Protocol extends Enum<ProxyServer.Protocol>
| Modifier and Type | Method and Description | 
|---|---|
String | 
getProtocol()  | 
String | 
toString()  | 
static ProxyServer.Protocol | 
valueOf(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(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getProtocol()
public String toString()
toString in class Enum<ProxyServer.Protocol>Copyright © 2015. All rights reserved.