org.apache.coyote

Class ActionCode

public final class ActionCode extends Object

Enumerated class containing the adapter event codes. Actions represent callbacks from the servlet container to the coyote connector. Actions are implemented by ProtocolHandler, using the ActionHook interface.

Author: Remy Maucherat

See Also: ProtocolHandler ActionHook

Field Summary
static ActionCodeACTION_ACK
static ActionCodeACTION_AVAILABLE
Callback for getting the amount of available bytes
static ActionCodeACTION_CLIENT_FLUSH
A flush() operation originated by the client ( i.e. a flush() on the servlet output stream or writer, called by a servlet ).
static ActionCodeACTION_CLOSE
static ActionCodeACTION_COMET_BEGIN
Callback for begin Comet processing
static ActionCodeACTION_COMET_CLOSE
Callback for an asynchronous close of the Comet event
static ActionCodeACTION_COMET_END
Callback for end Comet processing
static ActionCodeACTION_COMET_SETTIMEOUT
Callback for setting the timeout asynchronously
static ActionCodeACTION_COMMIT
static ActionCodeACTION_CUSTOM
static ActionCodeACTION_NEW_REQUEST
Chain for request creation.
static ActionCodeACTION_POST_REQUEST
Hook called after request, but before recycling.
static ActionCodeACTION_REQ_HOST_ADDR_ATTRIBUTE
Callback for lazy evaluation - extract the remote host infos (address, name, port) and local address.
static ActionCodeACTION_REQ_HOST_ATTRIBUTE
Callback for lazy evaluation - extract the remote host address.
static ActionCodeACTION_REQ_LOCALPORT_ATTRIBUTE
Callback for lazy evaluation - socket local port.
static ActionCodeACTION_REQ_LOCAL_ADDR_ATTRIBUTE
Callback for lazy evaluation - local address.
static ActionCodeACTION_REQ_LOCAL_NAME_ATTRIBUTE
Callback for lazy evaluation - local address.
static ActionCodeACTION_REQ_REMOTEPORT_ATTRIBUTE
Callback for lazy evaluation - socket remote port.
static ActionCodeACTION_REQ_SET_BODY_REPLAY
Callback for setting FORM auth body replay
static ActionCodeACTION_REQ_SSL_ATTRIBUTE
Callback for lazy evaluation - extract the SSL-related attributes.
static ActionCodeACTION_REQ_SSL_CERTIFICATE
Callback for lazy evaluation - extract the SSL-certificate (including forcing a re-handshake if necessary)
static ActionCodeACTION_RESET
static ActionCodeACTION_START
static ActionCodeACTION_STOP
static ActionCodeACTION_WEBAPP
Method Summary
intgetCode()
Action id, useable in switches and table indexes

Field Detail

ACTION_ACK

public static final ActionCode ACTION_ACK

ACTION_AVAILABLE

public static final ActionCode ACTION_AVAILABLE
Callback for getting the amount of available bytes

ACTION_CLIENT_FLUSH

public static final ActionCode ACTION_CLIENT_FLUSH
A flush() operation originated by the client ( i.e. a flush() on the servlet output stream or writer, called by a servlet ). Argument is the Response.

ACTION_CLOSE

public static final ActionCode ACTION_CLOSE

ACTION_COMET_BEGIN

public static final ActionCode ACTION_COMET_BEGIN
Callback for begin Comet processing

ACTION_COMET_CLOSE

public static final ActionCode ACTION_COMET_CLOSE
Callback for an asynchronous close of the Comet event

ACTION_COMET_END

public static final ActionCode ACTION_COMET_END
Callback for end Comet processing

ACTION_COMET_SETTIMEOUT

public static final ActionCode ACTION_COMET_SETTIMEOUT
Callback for setting the timeout asynchronously

ACTION_COMMIT

public static final ActionCode ACTION_COMMIT

ACTION_CUSTOM

public static final ActionCode ACTION_CUSTOM

ACTION_NEW_REQUEST

public static final ActionCode ACTION_NEW_REQUEST
Chain for request creation. Called each time a new request is created ( requests are recycled ).

ACTION_POST_REQUEST

public static final ActionCode ACTION_POST_REQUEST
Hook called after request, but before recycling. Can be used for logging, to update counters, custom cleanup - the request is still visible

ACTION_REQ_HOST_ADDR_ATTRIBUTE

public static final ActionCode ACTION_REQ_HOST_ADDR_ATTRIBUTE
Callback for lazy evaluation - extract the remote host infos (address, name, port) and local address.

ACTION_REQ_HOST_ATTRIBUTE

public static final ActionCode ACTION_REQ_HOST_ATTRIBUTE
Callback for lazy evaluation - extract the remote host address.

ACTION_REQ_LOCALPORT_ATTRIBUTE

public static final ActionCode ACTION_REQ_LOCALPORT_ATTRIBUTE
Callback for lazy evaluation - socket local port.

ACTION_REQ_LOCAL_ADDR_ATTRIBUTE

public static final ActionCode ACTION_REQ_LOCAL_ADDR_ATTRIBUTE
Callback for lazy evaluation - local address.

ACTION_REQ_LOCAL_NAME_ATTRIBUTE

public static final ActionCode ACTION_REQ_LOCAL_NAME_ATTRIBUTE
Callback for lazy evaluation - local address.

ACTION_REQ_REMOTEPORT_ATTRIBUTE

public static final ActionCode ACTION_REQ_REMOTEPORT_ATTRIBUTE
Callback for lazy evaluation - socket remote port.

ACTION_REQ_SET_BODY_REPLAY

public static final ActionCode ACTION_REQ_SET_BODY_REPLAY
Callback for setting FORM auth body replay

ACTION_REQ_SSL_ATTRIBUTE

public static final ActionCode ACTION_REQ_SSL_ATTRIBUTE
Callback for lazy evaluation - extract the SSL-related attributes.

ACTION_REQ_SSL_CERTIFICATE

public static final ActionCode ACTION_REQ_SSL_CERTIFICATE
Callback for lazy evaluation - extract the SSL-certificate (including forcing a re-handshake if necessary)

ACTION_RESET

public static final ActionCode ACTION_RESET

ACTION_START

public static final ActionCode ACTION_START

ACTION_STOP

public static final ActionCode ACTION_STOP

ACTION_WEBAPP

public static final ActionCode ACTION_WEBAPP

Method Detail

getCode

public int getCode()
Action id, useable in switches and table indexes
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.