|
||||||||||
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.HandlerRequest
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 | |
static int |
HOSTBUFFER
|
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 | |
HandlerRequest()
|
Method Summary | |
boolean |
getDelayInitialRead()
Get the flag to tell if we delay the initial body read |
boolean |
getRegisterRequests()
Get the flag to tell if we JMX register requests. |
boolean |
getShutdownEnabled()
|
void |
init()
Should register the request types it can handle, same style as apache2. |
int |
invoke(Msg msg,
MsgContext ep)
|
boolean |
isTomcatAuthentication()
|
void |
setAjpidDir(java.lang.String path)
|
void |
setDecodedUri(boolean b)
|
void |
setDelayInitialRead(boolean dir)
Set the flag to delay the initial body read |
void |
setRegisterRequests(boolean srr)
Set the flag to tell if we JMX register requests. |
void |
setSecret(java.lang.String s)
|
void |
setShutdownEnabled(boolean se)
|
void |
setTomcatAuthentication(boolean newTomcatAuthentication)
|
void |
setUseSecret(boolean b)
|
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 |
Field Detail |
public static final int HOSTBUFFER
Constructor Detail |
public HandlerRequest()
Method Detail |
public void init()
JkHandler
init
in class JkHandler
public void setSecret(java.lang.String s)
public void setUseSecret(boolean b)
public void setDecodedUri(boolean b)
public boolean isTomcatAuthentication()
public void setShutdownEnabled(boolean se)
public boolean getShutdownEnabled()
public void setTomcatAuthentication(boolean newTomcatAuthentication)
public void setAjpidDir(java.lang.String path)
public void setRegisterRequests(boolean srr)
public boolean getRegisterRequests()
public void setDelayInitialRead(boolean dir)
public boolean getDelayInitialRead()
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 |