public enum Encryption extends Enum<Encryption>
| Modifier and Type | Method and Description |
|---|---|
static Encryption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encryption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encryption NONE
public static final Encryption SSL
public static final Encryption TLS
public static Encryption[] values()
for (Encryption c : Encryption.values()) System.out.println(c);
public static Encryption 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 null