org.apache.jk.common

Class HandlerRequest

public class HandlerRequest extends JkHandler

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.

Author: Henri Gomez [hgomez@apache.org] Dan Milstein [danmil@shore.net] Keith Wannamaker [Keith@Wannamaker.org] Costin Manolache

Field Summary
static intHOSTBUFFER
Constructor Summary
HandlerRequest()
Method Summary
booleangetDelayInitialRead()
Get the flag to tell if we delay the initial body read
booleangetRegisterRequests()
Get the flag to tell if we JMX register requests.
booleangetShutdownEnabled()
voidinit()
intinvoke(Msg msg, MsgContext ep)
booleanisTomcatAuthentication()
voidsetAjpidDir(String path)
voidsetDecodedUri(boolean b)
voidsetDelayInitialRead(boolean dir)
Set the flag to delay the initial body read
voidsetRegisterRequests(boolean srr)
Set the flag to tell if we JMX register requests.
voidsetSecret(String s)
voidsetShutdownEnabled(boolean se)
voidsetTomcatAuthentication(boolean newTomcatAuthentication)
voidsetUseSecret(boolean b)

Field Detail

HOSTBUFFER

public static final int HOSTBUFFER

Constructor Detail

HandlerRequest

public HandlerRequest()

Method Detail

getDelayInitialRead

public boolean getDelayInitialRead()
Get the flag to tell if we delay the initial body read

getRegisterRequests

public boolean getRegisterRequests()
Get the flag to tell if we JMX register requests.

getShutdownEnabled

public boolean getShutdownEnabled()

init

public void init()

invoke

public int invoke(Msg msg, MsgContext ep)

isTomcatAuthentication

public boolean isTomcatAuthentication()

setAjpidDir

public void setAjpidDir(String path)

setDecodedUri

public void setDecodedUri(boolean b)

setDelayInitialRead

public void setDelayInitialRead(boolean dir)
Set the flag to delay the initial body read

setRegisterRequests

public void setRegisterRequests(boolean srr)
Set the flag to tell if we JMX register requests.

setSecret

public void setSecret(String s)

setShutdownEnabled

public void setShutdownEnabled(boolean se)

setTomcatAuthentication

public void setTomcatAuthentication(boolean newTomcatAuthentication)

setUseSecret

public void setUseSecret(boolean b)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.