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, servicepublic void init(ServletConfig config) throws ServletException
init in interface Servletinit in class ProxyServletServletExceptionprotected URL proxyHttpURL(String scheme, String serverName, int serverPort, String uri) throws MalformedURLException
ProxyServletproxyHttpURL in class ProxyServletscheme - 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.MalformedURLExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.