org.apache.pluto.testsuite.test
Class DispatcherRenderParameterTest.CompanionServlet
java.lang.Object
javax.servlet.GenericServlet
org.apache.pluto.testsuite.test.DispatcherRenderParameterTest.CompanionServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- Enclosing class:
- DispatcherRenderParameterTest
public static class DispatcherRenderParameterTest.CompanionServlet
- extends javax.servlet.GenericServlet
Nested static companion servlet class.
- See Also:
- Serialized Form
Method Summary |
String |
getServletInfo()
|
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
Services the servlet request dispatched from the test portlet. |
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 |
DispatcherRenderParameterTest.CompanionServlet
public DispatcherRenderParameterTest.CompanionServlet()
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
- Overrides:
getServletInfo
in class javax.servlet.GenericServlet
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
IOException
- Services the servlet request dispatched from the test portlet.
This method checks the 'target' parameter to determine which test
to run, and saves the test result in the request scope, which will
be retrieved by the test portlet.
- Specified by:
service
in interface javax.servlet.Servlet
- Specified by:
service
in class javax.servlet.GenericServlet
- Parameters:
request
- the incoming servlet request.response
- the incoming servlet response.
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.