public abstract class AbstractRemoteHandler
extends ConnectHandler
Modifier and Type | Field and Description |
---|---|
private java.util.Set<java.lang.String> |
localVirtualHostNames |
protected Switchboard |
sb |
Constructor and Description |
---|
AbstractRemoteHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
void |
handle(java.lang.String target,
Request baseRequest,
HttpServletRequest request,
HttpServletResponse response) |
abstract void |
handleRemote(java.lang.String target,
Request baseRequest,
HttpServletRequest request,
HttpServletResponse response) |
private boolean |
proxyippatternmatch(java.lang.String key)
helper for proxy IP config pattern check
|
protected Switchboard sb
private final java.util.Set<java.lang.String> localVirtualHostNames
protected void doStart() throws java.lang.Exception
java.lang.Exception
public abstract void handleRemote(java.lang.String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
public void handle(java.lang.String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
java.io.IOException
ServletException
private boolean proxyippatternmatch(java.lang.String key)