public class HandlerRequest extends JkHandler
Modifier and Type | Field and Description |
---|---|
static int |
HOSTBUFFER |
domain, ERROR, HANDLE_FLUSH, HANDLE_RECEIVE_PACKET, HANDLE_SEND_PACKET, HANDLE_THREAD_END, id, LAST, mserver, name, next, nextName, OK, oname, properties, wEnv
Constructor and Description |
---|
HandlerRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAllowedRequestAttributesPattern() |
protected java.util.regex.Pattern |
getAllowedRequestAttributesPatternInternal() |
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 |
setAllowedRequestAttributesPattern(java.lang.String allowedRequestAttributesPattern) |
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) |
addHandlerCallback, createMsgContext, createMsgContext, destroy, getDomain, getId, getName, getNext, getObjectName, getProperty, handleNotification, pause, postDeregister, postRegister, preDeregister, preRegister, resume, setId, setName, setNext, setNext, setProperty, setWorkerEnv
public static final int HOSTBUFFER
public void init()
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 void setAllowedRequestAttributesPattern(java.lang.String allowedRequestAttributesPattern)
public java.lang.String getAllowedRequestAttributesPattern()
protected java.util.regex.Pattern getAllowedRequestAttributesPatternInternal()
public int invoke(Msg msg, MsgContext ep) throws java.io.IOException
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.