|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jk.core.JkHandler org.apache.jk.common.HandlerDispatch
Dispatch based on the message type. ( XXX make it more generic, now it's specific to ajp13 ).
Field Summary |
Fields inherited from class org.apache.jk.core.JkHandler |
domain, ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, HANDLE_THREAD_END, id, LAST, mserver, name, next, nextName, OK, oname, properties, wEnv |
Constructor Summary | |
HandlerDispatch()
|
Method Summary | |
void |
init()
Should register the request types it can handle, same style as apache2. |
int |
invoke(Msg msg,
MsgContext ep)
|
int |
registerMessageType(int id,
java.lang.String name,
JkHandler h,
java.lang.String[] sig)
|
Methods inherited from class org.apache.jk.core.JkHandler |
addHandlerCallback, createMsgContext, createMsgContext, destroy, getDomain, getId, getName, getNext, getObjectName, getProperty, handleNotification, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setId, setName, setNext, setNext, setProperty, setWorkerEnv |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HandlerDispatch()
Method Detail |
public void init()
JkHandler
init
in class JkHandler
public int registerMessageType(int id, java.lang.String name, JkHandler h, java.lang.String[] sig)
public int invoke(Msg msg, MsgContext ep) throws java.io.IOException
invoke
in class JkHandler
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |