Package org.eclipse.jetty.server
Enum HttpChannelState.Action
- java.lang.Object
-
- java.lang.Enum<HttpChannelState.Action>
-
- org.eclipse.jetty.server.HttpChannelState.Action
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HttpChannelState.Action>
- Enclosing class:
- HttpChannelState
public static enum HttpChannelState.Action extends java.lang.Enum<HttpChannelState.Action>
The actions to take as the channel moves from state to state.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASYNC_DISPATCH
ASYNC_ERROR
ASYNC_TIMEOUT
COMPLETE
DISPATCH
READ_CALLBACK
READ_PRODUCE
READ_REGISTER
SEND_ERROR
TERMINATED
WAIT
WRITE_CALLBACK
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HttpChannelState.Action
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HttpChannelState.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISPATCH
public static final HttpChannelState.Action DISPATCH
-
ASYNC_DISPATCH
public static final HttpChannelState.Action ASYNC_DISPATCH
-
SEND_ERROR
public static final HttpChannelState.Action SEND_ERROR
-
ASYNC_ERROR
public static final HttpChannelState.Action ASYNC_ERROR
-
ASYNC_TIMEOUT
public static final HttpChannelState.Action ASYNC_TIMEOUT
-
WRITE_CALLBACK
public static final HttpChannelState.Action WRITE_CALLBACK
-
READ_REGISTER
public static final HttpChannelState.Action READ_REGISTER
-
READ_PRODUCE
public static final HttpChannelState.Action READ_PRODUCE
-
READ_CALLBACK
public static final HttpChannelState.Action READ_CALLBACK
-
COMPLETE
public static final HttpChannelState.Action COMPLETE
-
TERMINATED
public static final HttpChannelState.Action TERMINATED
-
WAIT
public static final HttpChannelState.Action WAIT
-
-
Method Detail
-
values
public static HttpChannelState.Action[] 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 (HttpChannelState.Action c : HttpChannelState.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HttpChannelState.Action 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
-
-