public enum ActionCode extends Enum<ActionCode>
ProtocolHandler
,
ActionHook
Enum Constant and Description |
---|
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_COMPLETING
Call back to determine if async complete is in progress.
|
ASYNC_IS_DISPATCHING
Callback to determine if async dispatch is in progress.
|
ASYNC_IS_ERROR
Callback to determine if async is in error.
|
ASYNC_IS_STARTED
Callback to determine if async dispatch is in progress.
|
ASYNC_IS_TIMINGOUT
Callback to determine if async is timing out.
|
ASYNC_POST_PROCESS
Callback to trigger post processing.
|
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 |
CLOSE_NOW
A serious error occurred from which it is not possible to recover safely.
|
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.
|
END_REQUEST
Trigger end of request processing (remaining input swallowed, write any
remaining parts of the response etc.).
|
IS_ERROR
Has the processor been placed into the error state?
|
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 Servlet 3.1 based HTTP upgrade process.
|
UPGRADE_TOMCAT
Callback to trigger Tomcat's proprietary HTTP upgrade process.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ActionCode ACK
public static final ActionCode CLOSE
public static final ActionCode COMMIT
public static final ActionCode CLOSE_NOW
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 IS_ERROR
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_COMPLETING
public static final ActionCode ASYNC_IS_DISPATCHING
public static final ActionCode ASYNC_IS_TIMINGOUT
public static final ActionCode ASYNC_IS_ERROR
public static final ActionCode UPGRADE_TOMCAT
public static final ActionCode ASYNC_POST_PROCESS
public static final ActionCode UPGRADE
public static final ActionCode END_REQUEST
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 nameNullPointerException
- if the argument is nullCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.