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