public class HttpProxyClient
extends java.lang.Object
Constructor and Description |
---|
HttpProxyClient(LoadBalanceManager loadBalancer) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
constructURI(HttpServletRequest req) |
protected LoadBalanceManager |
getLoadBalancer() |
protected java.lang.String |
getSessionId(HttpServletRequest req) |
void |
handleRequest(HttpServletRequest req,
HttpServletResponse res) |
protected ProxyResult |
proxy(HttpServletRequest req,
HttpServletResponse res,
java.lang.String uri,
java.lang.String sessionId,
ClientSocket client) |
protected void |
proxyFailure(HttpServletRequest req,
HttpServletResponse res,
ClientSocket client,
java.lang.String reason,
boolean send503) |
java.lang.String |
toString() |
public HttpProxyClient(LoadBalanceManager loadBalancer)
protected LoadBalanceManager getLoadBalancer()
public void handleRequest(HttpServletRequest req, HttpServletResponse res)
protected void proxyFailure(HttpServletRequest req, HttpServletResponse res, ClientSocket client, java.lang.String reason, boolean send503)
protected ProxyResult proxy(HttpServletRequest req, HttpServletResponse res, java.lang.String uri, java.lang.String sessionId, ClientSocket client)
protected java.lang.String constructURI(HttpServletRequest req)
protected java.lang.String getSessionId(HttpServletRequest req)
public java.lang.String toString()
toString
in class java.lang.Object