org.apache.pluto.testsuite.test
Class DispatcherRequestTest.CompanionServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.pluto.testsuite.test.DispatcherRequestTest.CompanionServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Enclosing class:
DispatcherRequestTest

public static class DispatcherRequestTest.CompanionServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Constructor Summary
DispatcherRequestTest.CompanionServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
           
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method uses HttpServletRequest.getPathInfo to retrieve the requested path info, and forwards to the corresponding check method to perform the test.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DispatcherRequestTest.CompanionServlet

public DispatcherRequestTest.CompanionServlet()
Method Detail

getServletInfo

public java.lang.String getServletInfo()
Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class javax.servlet.GenericServlet

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException,
                    java.io.IOException
This method uses HttpServletRequest.getPathInfo to retrieve the requested path info, and forwards to the corresponding check method to perform the test.

Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.