org.apache.catalina.core
Enum AsyncContextImpl.AsyncState
java.lang.Object
java.lang.Enum<AsyncContextImpl.AsyncState>
org.apache.catalina.core.AsyncContextImpl.AsyncState
- All Implemented Interfaces:
- Serializable, Comparable<AsyncContextImpl.AsyncState>
- Enclosing class:
- AsyncContextImpl
public static enum AsyncContextImpl.AsyncState
- extends Enum<AsyncContextImpl.AsyncState>
NOT_STARTED
public static final AsyncContextImpl.AsyncState NOT_STARTED
STARTED
public static final AsyncContextImpl.AsyncState STARTED
DISPATCHING
public static final AsyncContextImpl.AsyncState DISPATCHING
DISPATCHED
public static final AsyncContextImpl.AsyncState DISPATCHED
COMPLETING
public static final AsyncContextImpl.AsyncState COMPLETING
TIMING_OUT
public static final AsyncContextImpl.AsyncState TIMING_OUT
ERROR_DISPATCHING
public static final AsyncContextImpl.AsyncState ERROR_DISPATCHING
values
public static AsyncContextImpl.AsyncState[] 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 (AsyncContextImpl.AsyncState c : AsyncContextImpl.AsyncState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AsyncContextImpl.AsyncState valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.