Save This Page
Home » apache-tomcat-6.0.16-src » org.apache.jk » common » [javadoc | source]
org.apache.jk.common
public class: HandlerDispatch [javadoc | source]
java.lang.Object
   org.apache.jk.core.JkHandler
      org.apache.jk.common.HandlerDispatch

All Implemented Interfaces:
    NotificationListener, MBeanRegistration

Dispatch based on the message type. ( XXX make it more generic, now it's specific to ajp13 ).
Field Summary
 JkHandler[] handlers     
 String[] handlerNames     
static final  int MAX_HANDLERS     
static final  int RESERVED     
 int currentId     
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
Constructor:
 public HandlerDispatch() 
Method from org.apache.jk.common.HandlerDispatch Summary:
init,   invoke,   registerMessageType
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:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jk.common.HandlerDispatch Detail:
 public  void init() 
 public int invoke(Msg msg,
    MsgContext ep) throws IOException 
 public int registerMessageType(int id,
    String name,
    JkHandler h,
    String[] sig)