org.sonatype.tests.http.server.jetty.impl
Class ProxyTestServlet
java.lang.Object
org.sonatype.tests.http.server.jetty.impl.ProxyServlet
org.sonatype.tests.http.server.jetty.impl.ProxyTestServlet
- All Implemented Interfaces:
- javax.servlet.Servlet, TestServlet
public class ProxyTestServlet
- extends ProxyServlet
- implements TestServlet
- Author:
- Benjamin Hanzelmann
Method Summary |
String |
getPath()
The pathspec for the servlet. |
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse res)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.servlet.Servlet |
destroy, getServletConfig, getServletInfo, init |
ProxyTestServlet
public ProxyTestServlet(String principal,
String password)
getPath
public String getPath()
- Description copied from interface:
TestServlet
- The pathspec for the servlet.
- Specified by:
getPath
in interface TestServlet
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse res)
throws javax.servlet.ServletException,
IOException
- Specified by:
service
in interface javax.servlet.Servlet
- Overrides:
service
in class ProxyServlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2010-2013 Sonatype, Inc.. All Rights Reserved.