Apache Tomcat 6.0.53

org.apache.coyote
Class ActionCode

java.lang.Object
  extended by org.apache.coyote.ActionCode

public final class ActionCode
extends java.lang.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 ActionCode ACTION_ACK
           
static ActionCode ACTION_AVAILABLE
          Callback for getting the amount of available bytes
static 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 ).
static ActionCode ACTION_CLOSE
           
static ActionCode ACTION_COMET_BEGIN
          Callback for begin Comet processing
static ActionCode ACTION_COMET_CLOSE
          Callback for an asynchronous close of the Comet event
static ActionCode ACTION_COMET_END
          Callback for end Comet processing
static ActionCode ACTION_COMET_SETTIMEOUT
          Callback for setting the timeout asynchronously
static ActionCode ACTION_COMMIT
           
static ActionCode ACTION_CUSTOM
           
static ActionCode ACTION_NEW_REQUEST
          Chain for request creation.
static ActionCode ACTION_POST_REQUEST
          Hook called after request, but before recycling.
static ActionCode ACTION_REQ_HOST_ADDR_ATTRIBUTE
          Callback for lazy evaluation - extract the remote host infos (address, name, port) and local address.
static ActionCode ACTION_REQ_HOST_ATTRIBUTE
          Callback for lazy evaluation - extract the remote host address.
static ActionCode ACTION_REQ_LOCAL_ADDR_ATTRIBUTE
          Callback for lazy evaluation - local address.
static ActionCode ACTION_REQ_LOCAL_NAME_ATTRIBUTE
          Callback for lazy evaluation - local address.
static ActionCode ACTION_REQ_LOCALPORT_ATTRIBUTE
          Callback for lazy evaluation - socket local port.
static ActionCode ACTION_REQ_REMOTEPORT_ATTRIBUTE
          Callback for lazy evaluation - socket remote port.
static ActionCode ACTION_REQ_SET_BODY_REPLAY
          Callback for setting FORM auth body replay
static ActionCode ACTION_REQ_SSL_ATTRIBUTE
          Callback for lazy evaluation - extract the SSL-related attributes.
static ActionCode ACTION_REQ_SSL_CERTIFICATE
          Callback for lazy evaluation - extract the SSL-certificate (including forcing a re-handshake if necessary)
static ActionCode ACTION_RESET
           
static ActionCode ACTION_START
           
static ActionCode ACTION_STOP
           
static ActionCode ACTION_WEBAPP
           
 
Method Summary
 int getCode()
          Action id, useable in switches and table indexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_ACK

public static final ActionCode ACTION_ACK

ACTION_CLOSE

public static final ActionCode ACTION_CLOSE

ACTION_COMMIT

public static final ActionCode ACTION_COMMIT

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_CUSTOM

public static final ActionCode ACTION_CUSTOM

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

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_ATTRIBUTE

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


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_SSL_ATTRIBUTE

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


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_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_REQ_REMOTEPORT_ATTRIBUTE

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


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_SET_BODY_REPLAY

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


ACTION_COMET_BEGIN

public static final ActionCode ACTION_COMET_BEGIN
Callback for begin Comet processing


ACTION_COMET_END

public static final ActionCode ACTION_COMET_END
Callback for end Comet processing


ACTION_AVAILABLE

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


ACTION_COMET_CLOSE

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


ACTION_COMET_SETTIMEOUT

public static final ActionCode ACTION_COMET_SETTIMEOUT
Callback for setting the timeout asynchronously

Method Detail

getCode

public int getCode()
Action id, useable in switches and table indexes


Apache Tomcat 6.0.53

Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.