- java.lang.Object
-
- java.lang.Enum<SslClientAuthMode>
-
- org.xnio.SslClientAuthMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SslClientAuthMode>
public enum SslClientAuthMode extends java.lang.Enum<SslClientAuthMode>
The desired SSL client authentication mode for SSL channels in server mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_REQUESTED
SSL client authentication is not requested.REQUESTED
SSL client authentication is requested but not required.REQUIRED
SSL client authentication is required.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SslClientAuthMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SslClientAuthMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_REQUESTED
public static final SslClientAuthMode NOT_REQUESTED
SSL client authentication is not requested.
-
REQUESTED
public static final SslClientAuthMode REQUESTED
SSL client authentication is requested but not required.
-
REQUIRED
public static final SslClientAuthMode REQUIRED
SSL client authentication is required.
-
-
Method Detail
-
values
public static SslClientAuthMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SslClientAuthMode c : SslClientAuthMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SslClientAuthMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-