public enum TransportProtocol extends java.lang.Enum<TransportProtocol>
Enum Constant and Description |
---|
Clear
Clear text
|
Kerberos
Windows Kerberos
|
Negotiate
Windows Negotiate (Kerberos or NTLM)
|
Ntlm
Windows NTLM
|
Ssl
SSL
|
Unspecified
Unspecified
|
Modifier and Type | Method and Description |
---|---|
static TransportProtocol |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransportProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportProtocol Unspecified
public static final TransportProtocol Clear
public static final TransportProtocol Ntlm
public static final TransportProtocol Kerberos
public static final TransportProtocol Negotiate
public static final TransportProtocol Ssl
public static TransportProtocol[] values()
for (TransportProtocol c : TransportProtocol.values()) System.out.println(c);
public static TransportProtocol 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