public static enum SslDomain.Mode extends java.lang.Enum<SslDomain.Mode>
Enum Constant and Description |
---|
CLIENT
Local connection endpoint is an SSL client
|
SERVER
Local connection endpoint is an SSL server
|
Modifier and Type | Method and Description |
---|---|
static SslDomain.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SslDomain.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslDomain.Mode CLIENT
public static final SslDomain.Mode SERVER
public static SslDomain.Mode[] values()
for (SslDomain.Mode c : SslDomain.Mode.values()) System.out.println(c);
public static SslDomain.Mode 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