public class HmuxProxyReader
extends java.lang.Object
<servlet-mapping url-pattern='/remote/*'> <servlet-name>com.caucho.servlets.LoadBalanceServlet</servlet-name> <init> <cluster>app-tier</cluster> </init> </servlet-mapping>
Constructor and Description |
---|
HmuxProxyReader() |
Modifier and Type | Method and Description |
---|---|
void |
readResponse(ServletResponse response,
ReadStream rs,
byte[] buf)
Handle the request.
|
void |
setCluster(java.lang.String id)
Sets the cluster id
|
void |
setEscapedUrl(boolean isEscaped) |
void |
setStickyGenerator(StickyRequestHashGenerator sticky) |
void |
setStickySessions(boolean isStickySessions)
Set true if sticky-sessions should be enabled.
|
void |
setStrategy(java.lang.String strategy)
Sets the strategy.
|
protected QDate _calendar
public void setStickySessions(boolean isStickySessions)
public void setCluster(java.lang.String id)
public void setStrategy(java.lang.String strategy) throws ConfigException
ConfigException
public void setStickyGenerator(StickyRequestHashGenerator sticky)
public void setEscapedUrl(boolean isEscaped)
public void readResponse(ServletResponse response, ReadStream rs, byte[] buf) throws ServletException, java.io.IOException
ServletException
java.io.IOException