org.mortbay.servlet
public static class ProxyServlet.Transparent extends ProxyServlet
ProxyServlet.Transparent_config, _context, _DontProxyHeaders| Constructor and Description |
|---|
ProxyServlet.Transparent() |
ProxyServlet.Transparent(java.lang.String prefix,
java.lang.String server,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(ServletConfig config) |
protected java.net.URL |
proxyHttpURL(java.lang.String scheme,
java.lang.String serverName,
int serverPort,
java.lang.String uri)
Resolve requested URL to the Proxied URL
|
destroy, getServletConfig, getServletInfo, handleConnect, servicepublic ProxyServlet.Transparent()
public ProxyServlet.Transparent(java.lang.String prefix,
java.lang.String server,
int port)
public void init(ServletConfig config) throws ServletException
init in interface Servletinit in class ProxyServletServletExceptionprotected java.net.URL proxyHttpURL(java.lang.String scheme,
java.lang.String serverName,
int serverPort,
java.lang.String uri)
throws java.net.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.java.net.MalformedURLExceptionCopyright © 2009 Mortbay Consulting Pty. Ltd. All Rights Reserved.