public static enum SslOptions.ClientAuth extends Enum<SslOptions.ClientAuth>
Enum Constant and Description |
---|
NONE
SSL client authentication is NOT requested.
|
REQUESTED
SSL client authentication is requested but not required.
|
REQUIRED
SSL client authentication is required.
|
Modifier and Type | Method and Description |
---|---|
static SslOptions.ClientAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SslOptions.ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SslOptions.ClientAuth NONE
public static final SslOptions.ClientAuth REQUESTED
public static final SslOptions.ClientAuth REQUIRED
public static SslOptions.ClientAuth[] values()
for (SslOptions.ClientAuth c : SslOptions.ClientAuth.values()) System.out.println(c);
public static SslOptions.ClientAuth 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 © 2020. All rights reserved.