public enum TransportSecurity extends Enum<TransportSecurity>
| Enum Constant and Description |
|---|
NONE
None security is required.
|
SSL
Security is done by SSL protocol.
|
TLS
Security is done by TLS protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static TransportSecurity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportSecurity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportSecurity NONE
public static final TransportSecurity SSL
public static final TransportSecurity TLS
public static TransportSecurity[] values()
for (TransportSecurity c : TransportSecurity.values()) System.out.println(c);
public static TransportSecurity 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 nullCopyright © 2016. All rights reserved.