Package org.eclipse.jetty.proxy
Class AbstractProxyServlet.TransparentDelegate
- java.lang.Object
-
- org.eclipse.jetty.proxy.AbstractProxyServlet.TransparentDelegate
-
- Enclosing class:
- AbstractProxyServlet
protected static class AbstractProxyServlet.TransparentDelegate extends java.lang.ObjectUtility class that implement transparent proxy functionalities.
Configuration parameters:
proxyTo- a mandatory URI like http://host:80/context to which the request is proxied.prefix- an optional URI prefix that is stripped from the start of the forwarded URI.
For example, if a request is received at "/foo/bar", the
proxyToparameter is "http://host:80/context" and theprefixparameter is "/foo", then the request would be proxied to "http://host:80/context/bar".
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTransparentDelegate(AbstractProxyServlet proxyServlet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinit(javax.servlet.ServletConfig config)protected java.lang.StringrewriteTarget(javax.servlet.http.HttpServletRequest request)
-
-
-
Constructor Detail
-
TransparentDelegate
protected TransparentDelegate(AbstractProxyServlet proxyServlet)
-
-