public static class ProxyServlet.Transparent extends ProxyServlet
ProxyServlet.Transparent
_config, _context, _DontProxyHeaders
Constructor and Description |
---|
ProxyServlet.Transparent() |
ProxyServlet.Transparent(String prefix,
String server,
int port) |
Modifier and Type | Method and Description |
---|---|
void |
init(ServletConfig config) |
protected URL |
proxyHttpURL(String scheme,
String serverName,
int serverPort,
String uri)
Resolve requested URL to the Proxied URL
|
destroy, getServletConfig, getServletInfo, handleConnect, service
public void init(ServletConfig config) throws ServletException
init
in interface Servlet
init
in class ProxyServlet
ServletException
protected URL proxyHttpURL(String scheme, String serverName, int serverPort, String uri) throws MalformedURLException
ProxyServlet
proxyHttpURL
in class ProxyServlet
scheme
- The scheme of the received request.serverName
- The server encoded in the received request(which
may be from an absolute URL in the request line).serverPort
- The server port of the received request (which
may be from an absolute URL in the request line).uri
- The URI of the received request.MalformedURLException
Copyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.