public static enum Ssl.ClientAuth extends Enum<Ssl.ClientAuth>
Enum Constant and Description |
---|
NEED
Client authentication is needed and mandatory.
|
NONE
Client authentication is not wanted.
|
WANT
Client authentication is wanted but not mandatory.
|
Modifier and Type | Method and Description |
---|---|
static Ssl.ClientAuth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ssl.ClientAuth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Ssl.ClientAuth NONE
public static final Ssl.ClientAuth WANT
public static final Ssl.ClientAuth NEED
public static Ssl.ClientAuth[] values()
for (Ssl.ClientAuth c : Ssl.ClientAuth.values()) System.out.println(c);
public static Ssl.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 © 2021 Pivotal Software, Inc.. All rights reserved.