org.sonatype.tests.http.server.jetty.impl
Class ProxyServlet
java.lang.Object
org.sonatype.tests.http.server.jetty.impl.ProxyServlet
- All Implemented Interfaces:
- javax.servlet.Servlet
- Direct Known Subclasses:
- ProxyTestServlet
public class ProxyServlet
- extends Object
- implements javax.servlet.Servlet
- Author:
- gregw
Method Summary |
void |
destroy()
|
javax.servlet.ServletConfig |
getServletConfig()
|
String |
getServletInfo()
|
void |
handleConnect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
init(javax.servlet.ServletConfig config)
|
void |
service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
skipHeaders
protected Set<String> skipHeaders
ProxyServlet
public ProxyServlet()
ProxyServlet
public ProxyServlet(String realHost)
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig
in interface javax.servlet.Servlet
service
public void service(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res)
throws javax.servlet.ServletException,
IOException
- Specified by:
service
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
handleConnect
public void handleConnect(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
- Throws:
IOException
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Servlet
Copyright © 2010-2012 Sonatype, Inc.. All Rights Reserved.