org.sonatype.tests.http.server.jetty.impl
Class ProxyTestServlet

java.lang.Object
  extended by org.sonatype.tests.http.server.jetty.impl.ProxyServlet
      extended by 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

Field Summary
 
Fields inherited from class org.sonatype.tests.http.server.jetty.impl.ProxyServlet
skipHeaders
 
Constructor Summary
ProxyTestServlet(String principal, String password)
           
 
Method Summary
 String getPath()
          The pathspec for the servlet.
 void service(javax.servlet.ServletRequest request, javax.servlet.ServletResponse res)
           
 
Methods inherited from class org.sonatype.tests.http.server.jetty.impl.ProxyServlet
destroy, getServletConfig, getServletInfo, handleConnect, init
 
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
 

Constructor Detail

ProxyTestServlet

public ProxyTestServlet(String principal,
                        String password)
Method Detail

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-2012 Sonatype, Inc.. All Rights Reserved.