public enum ActionCode extends java.lang.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 |
DISABLE_SWALLOW_INPUT
Hook called if swallowing request input should be disabled.
|
DISPATCH_EXECUTE
Execute any non-blocking dispatches that have been registered via
DISPATCH_READ or DISPATCH_WRITE . |
DISPATCH_READ
Indicates that the container needs to trigger a call to onDataAvailable()
for the registered non-blocking read listener.
|
DISPATCH_WRITE
Indicates that the container needs to trigger a call to onWritePossible()
for the registered non-blocking write listener.
|
END_REQUEST
Trigger end of request processing (remaining input swallowed, write any
remaining parts of the response etc.).
|
IS_COMET
Callback to determine if the current request is a Comet request.
|
IS_ERROR
Has the processor been placed into the error state?
|
NB_READ_INTEREST
Indicator that Servlet is interested in being
notified when data is available to be read
|
NB_WRITE_INTEREST
Indicator that the Servlet is interested
in being notified when it can write data
|
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)
|
REQUEST_BODY_FULLY_READ
Indicates if the request body has been fully read.
|
RESET |
UPGRADE
Callback to trigger the HTTP upgrade process.
|
Modifier and Type | Method and Description |
---|---|
static ActionCode |
valueOf(java.lang.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 RESET
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 IS_COMET
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 ASYNC_POST_PROCESS
public static final ActionCode UPGRADE
public static final ActionCode NB_READ_INTEREST
public static final ActionCode NB_WRITE_INTEREST
public static final ActionCode REQUEST_BODY_FULLY_READ
public static final ActionCode DISPATCH_READ
public static final ActionCode DISPATCH_WRITE
public static final ActionCode DISPATCH_EXECUTE
DISPATCH_READ
or DISPATCH_WRITE
. Typically required
when the non-blocking listeners are configured on a thread where the
processing wasn't triggered by a read or write event on the socket.public static final ActionCode END_REQUEST
public static ActionCode[] values()
for (ActionCode c : ActionCode.values()) System.out.println(c);
public static ActionCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.