Save This Page
Home » apache-tomcat-6.0.26-src » org.apache.jk » common » [javadoc | source]
public class: HandlerRequest [javadoc | source]

All Implemented Interfaces:
    NotificationListener, MBeanRegistration

Handle messages related with basic request information. This object can handle the following incoming messages: - "FORWARD_REQUEST" input message ( sent when a request is passed from the web server ) - "RECEIVE_BODY_CHUNK" input ( sent by container to pass more body, in response to GET_BODY_CHUNK ) It can handle the following outgoing messages: - SEND_HEADERS. Pass the status code and headers. - SEND_BODY_CHUNK. Send a chunk of body - GET_BODY_CHUNK. Request a chunk of body data - END_RESPONSE. Notify the end of a request processing.
Field Summary
public static final  int HOSTBUFFER     
static  int count     
Fields inherited from org.apache.jk.core.JkHandler:
OK,  LAST,  ERROR,  properties,  wEnv,  next,  nextName,  name,  id,  HANDLE_RECEIVE_PACKET,  HANDLE_SEND_PACKET,  HANDLE_FLUSH,  HANDLE_THREAD_END,  domain,  oname,  mserver
 public HandlerRequest() 
Method from org.apache.jk.common.HandlerRequest Summary:
getDelayInitialRead,   getRegisterRequests,   getShutdownEnabled,   init,   invoke,   isTomcatAuthentication,   setAjpidDir,   setDecodedUri,   setDelayInitialRead,   setRegisterRequests,   setSecret,   setShutdownEnabled,   setTomcatAuthentication,   setUseSecret
Methods from org.apache.jk.core.JkHandler:
addHandlerCallback,   createMsgContext,   createMsgContext,   destroy,   getDomain,   getId,   getName,   getNext,   getObjectName,   getProperty,   handleNotification,   init,   invoke,   pause,   postDeregister,   postRegister,   preDeregister,   preRegister,   resume,   setId,   setName,   setNext,   setNext,   setProperty,   setWorkerEnv
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jk.common.HandlerRequest Detail:
 public boolean getDelayInitialRead() 
    Get the flag to tell if we delay the initial body read
 public boolean getRegisterRequests() 
    Get the flag to tell if we JMX register requests.
 public boolean getShutdownEnabled() 
 public  void init() 
 public int invoke(Msg msg,
    MsgContext ep) throws IOException 
 public boolean isTomcatAuthentication() 
 public  void setAjpidDir(String path) 
 public  void setDecodedUri(boolean b) 
 public  void setDelayInitialRead(boolean dir) 
    Set the flag to delay the initial body read
 public  void setRegisterRequests(boolean srr) 
    Set the flag to tell if we JMX register requests.
 public  void setSecret(String s) 
 public  void setShutdownEnabled(boolean se) 
 public  void setTomcatAuthentication(boolean newTomcatAuthentication) 
 public  void setUseSecret(boolean b)