Package org.apache.thrift.transport.sasl
Enum NonblockingSaslHandler.Phase
- java.lang.Object
-
- java.lang.Enum<NonblockingSaslHandler.Phase>
-
- org.apache.thrift.transport.sasl.NonblockingSaslHandler.Phase
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NonblockingSaslHandler.Phase>
- Enclosing class:
- NonblockingSaslHandler
public static enum NonblockingSaslHandler.Phase extends java.lang.Enum<NonblockingSaslHandler.Phase>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSEDCLOSINGEVALUATING_SASL_RESPONSEINITIIALIIZINGPROCESSINGREADING_REQUESTREADING_SASL_RESPONSEWRITING_FAILURE_MESSAGEWRITING_RESPONSEWRITING_SASL_CHALLENGEWRITING_SUCCESS_MESSAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NonblockingSaslHandler.PhasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static NonblockingSaslHandler.Phase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INITIIALIIZING
public static final NonblockingSaslHandler.Phase INITIIALIIZING
-
READING_SASL_RESPONSE
public static final NonblockingSaslHandler.Phase READING_SASL_RESPONSE
-
EVALUATING_SASL_RESPONSE
public static final NonblockingSaslHandler.Phase EVALUATING_SASL_RESPONSE
-
WRITING_SASL_CHALLENGE
public static final NonblockingSaslHandler.Phase WRITING_SASL_CHALLENGE
-
WRITING_SUCCESS_MESSAGE
public static final NonblockingSaslHandler.Phase WRITING_SUCCESS_MESSAGE
-
WRITING_FAILURE_MESSAGE
public static final NonblockingSaslHandler.Phase WRITING_FAILURE_MESSAGE
-
READING_REQUEST
public static final NonblockingSaslHandler.Phase READING_REQUEST
-
PROCESSING
public static final NonblockingSaslHandler.Phase PROCESSING
-
WRITING_RESPONSE
public static final NonblockingSaslHandler.Phase WRITING_RESPONSE
-
CLOSING
public static final NonblockingSaslHandler.Phase CLOSING
-
CLOSED
public static final NonblockingSaslHandler.Phase CLOSED
-
-
Method Detail
-
values
public static NonblockingSaslHandler.Phase[] 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 (NonblockingSaslHandler.Phase c : NonblockingSaslHandler.Phase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NonblockingSaslHandler.Phase 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
-
-