|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ActionCode> org.apache.coyote.ActionCode
public enum ActionCode
ActionCodes represent callbacks from the servlet container to the coyote connector. Actions are implemented by ProtocolHandler, using the ActionHook interface.
ProtocolHandler
,
ActionHook
Enum Constant Summary | |
---|---|
ACK
|
|
ASYNC_COMPLETE
Callback for an async call to AsyncContext.complete() |
|
ASYNC_DISPATCH
Callback for an async call to AsyncContext.dispatch() |
|
ASYNC_DISPATCHED
Callback to indicate the the actual dispatch has started and that the async state needs change. |
|
ASYNC_ERROR
Callback to trigger the error processing |
|
ASYNC_IS_ASYNC
Callback to determine if async processing is in progress |
|
ASYNC_IS_DISPATCHING
Callback to determine if async dispatch is in progress |
|
ASYNC_IS_STARTED
Callback to determine if async dispatch is in progress |
|
ASYNC_IS_TIMINGOUT
Callback to determine if async is timing out |
|
ASYNC_RUN
Callback for an async call to AsyncContext.start(Runnable) |
|
ASYNC_SETTIMEOUT
Callback for an async call to AsyncContext.setTimeout(long) |
|
ASYNC_START
Callback for an async request |
|
ASYNC_TIMEOUT
Callback to trigger the processing of an async timeout |
|
AVAILABLE
Callback for getting the amount of available bytes |
|
CLIENT_FLUSH
A flush() operation originated by the client ( i.e. a flush() on the servlet output stream or writer, called by a servlet ). |
|
CLOSE
|
|
COMET_BEGIN
Callback for begin Comet processing |
|
COMET_CLOSE
Callback for an asynchronous close of the Comet event |
|
COMET_END
Callback for end Comet processing |
|
COMET_SETTIMEOUT
Callback for setting the timeout asynchronously |
|
COMMIT
|
|
CUSTOM
|
|
DISABLE_SWALLOW_INPUT
Hook called if swallowing request input should be disabled. |
|
POST_REQUEST
Hook called after request, but before recycling. |
|
REQ_HOST_ADDR_ATTRIBUTE
Callback for lazy evaluation - extract the remote host infos (address, name, port) and local address. |
|
REQ_HOST_ATTRIBUTE
Callback for lazy evaluation - extract the remote host address. |
|
REQ_LOCAL_ADDR_ATTRIBUTE
Callback for lazy evaluation - local address. |
|
REQ_LOCAL_NAME_ATTRIBUTE
Callback for lazy evaluation - local address. |
|
REQ_LOCALPORT_ATTRIBUTE
Callback for lazy evaluation - socket local port. |
|
REQ_REMOTEPORT_ATTRIBUTE
Callback for lazy evaluation - socket remote port. |
|
REQ_SET_BODY_REPLAY
Callback for setting FORM auth body replay |
|
REQ_SSL_ATTRIBUTE
Callback for lazy evaluation - extract the SSL-related attributes. |
|
REQ_SSL_CERTIFICATE
Callback for lazy evaluation - extract the SSL-certificate (including forcing a re-handshake if necessary) |
|
RESET
|
|
UPGRADE
Callback to trigger the HTTP upgrade process. |
Method Summary | |
---|---|
static ActionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ActionCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ActionCode ACK
public static final ActionCode CLOSE
public static final ActionCode COMMIT
public static final ActionCode CLIENT_FLUSH
public static final ActionCode CUSTOM
public static final ActionCode RESET
public static final ActionCode POST_REQUEST
public static final ActionCode DISABLE_SWALLOW_INPUT
public static final ActionCode REQ_HOST_ATTRIBUTE
public static final ActionCode REQ_HOST_ADDR_ATTRIBUTE
public static final ActionCode REQ_SSL_ATTRIBUTE
public static final ActionCode REQ_SSL_CERTIFICATE
public static final ActionCode REQ_REMOTEPORT_ATTRIBUTE
public static final ActionCode REQ_LOCALPORT_ATTRIBUTE
public static final ActionCode REQ_LOCAL_ADDR_ATTRIBUTE
public static final ActionCode REQ_LOCAL_NAME_ATTRIBUTE
public static final ActionCode REQ_SET_BODY_REPLAY
public static final ActionCode COMET_BEGIN
public static final ActionCode COMET_END
public static final ActionCode AVAILABLE
public static final ActionCode COMET_CLOSE
public static final ActionCode COMET_SETTIMEOUT
public static final ActionCode ASYNC_START
public static final ActionCode ASYNC_DISPATCH
AsyncContext.dispatch()
public static final ActionCode ASYNC_DISPATCHED
public static final ActionCode ASYNC_RUN
AsyncContext.start(Runnable)
public static final ActionCode ASYNC_COMPLETE
AsyncContext.complete()
public static final ActionCode ASYNC_TIMEOUT
public static final ActionCode ASYNC_ERROR
public static final ActionCode ASYNC_SETTIMEOUT
AsyncContext.setTimeout(long)
public static final ActionCode ASYNC_IS_ASYNC
public static final ActionCode ASYNC_IS_STARTED
public static final ActionCode ASYNC_IS_DISPATCHING
public static final ActionCode ASYNC_IS_TIMINGOUT
public static final ActionCode UPGRADE
Method Detail |
---|
public static ActionCode[] values()
for (ActionCode c : ActionCode.values()) System.out.println(c);
public static ActionCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
Apache Tomcat 7.0.28 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |