Package org.apache.http.impl.auth
Enum NTLMScheme.State
- java.lang.Object
-
- java.lang.Enum<NTLMScheme.State>
-
- org.apache.http.impl.auth.NTLMScheme.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NTLMScheme.State>
- Enclosing class:
- NTLMScheme
static enum NTLMScheme.State extends java.lang.Enum<NTLMScheme.State>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHALLENGE_RECEIVED
FAILED
MSG_TYPE1_GENERATED
MSG_TYPE2_RECEVIED
MSG_TYPE3_GENERATED
UNINITIATED
-
Constructor Summary
Constructors Modifier Constructor Description private
State()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NTLMScheme.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NTLMScheme.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNINITIATED
public static final NTLMScheme.State UNINITIATED
-
CHALLENGE_RECEIVED
public static final NTLMScheme.State CHALLENGE_RECEIVED
-
MSG_TYPE1_GENERATED
public static final NTLMScheme.State MSG_TYPE1_GENERATED
-
MSG_TYPE2_RECEVIED
public static final NTLMScheme.State MSG_TYPE2_RECEVIED
-
MSG_TYPE3_GENERATED
public static final NTLMScheme.State MSG_TYPE3_GENERATED
-
FAILED
public static final NTLMScheme.State FAILED
-
-
Method Detail
-
values
public static NTLMScheme.State[] 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 (NTLMScheme.State c : NTLMScheme.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NTLMScheme.State 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
-
-