Message-ID: <1021700829.1661.1369245310441.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_1660_1066838976.1369245310441" ------=_Part_1660_1066838976.1369245310441 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
The Jetty release contains an Asychronous Proxy Servlet that may be used eith= er as a traditional web proxy (configured in a browser) or as a transparent= proxy to forward requests from a jetty server to any other server.
If the Asynchronous Proxy Servlet is configured as the default servlet a= t the '/' path of the root context, then browsers can be configured to use = the jetty server as a proxy server. The Proxy servlet will detect the proxy= requests from the absolute URL in the request line and forward the request= to the real server.
A transparent proxy can proxy normal HTTP requests to another server wit= hout any special cooperation from the client.
A derived AsynchronousProxyServlet should be configured in web.xml to ma=
tch the paths that are to be proxied. The AsynchronousProxyServlet itself =
should be extended to implement the
HttpURI proxyHttpURI(final String=
scheme, final String serverName, int serverPort, final String uri) =
method to return the URI destination to which a specific request will be pr=
The derived AsynchronousProxyServlet.Trasparent subclass exists to perfo= rm standard transparent proxy operation. Currently this class needs to be p= rogrammaticly instantiated. From 6.1.19 release, the transparent proxy will= configurable with init parameters as follows:------=_Part_1660_1066838976.1369245310441--