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