public static class ProxyServlet.Transparent extends ProxyServlet
ProxyServlet
configures the servlet as a transparent proxy.
This servlet is configured with the following init parameters:
ProxyServlet.Transparent
_log
Constructor and Description |
---|
ProxyServlet.Transparent() |
ProxyServlet.Transparent(String proxyTo,
String prefix) |
Modifier and Type | Method and Description |
---|---|
void |
init() |
protected URI |
rewriteURI(HttpServletRequest request) |
addViaHeader, addXForwardedHeaders, createHttpClient, createLogger, customizeProxyRequest, destroy, filterResponseHeader, getBlackListHosts, getRequestId, getTimeout, getViaHost, getWhiteListHosts, newHttpClient, onClientRequestFailure, onResponseContent, onResponseFailure, onResponseHeaders, onResponseSuccess, onRewriteFailed, proxyRequestContent, service, setTimeout, validateDestination, viaHost
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public void init() throws ServletException
init
in class ProxyServlet
ServletException
protected URI rewriteURI(HttpServletRequest request)
rewriteURI
in class ProxyServlet
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.