org.apache.cactus.server
class ServletTestRedirector
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--org.apache.cactus.server.ServletTestRedirector
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
- Known Advisors:
- LogAspect
- public class ServletTestRedirector
- extends javax.servlet.http.HttpServlet
Generic Servlet redirector that calls a test method on the server side.
- Version:
- $Id: ServletTestRedirector.java,v 1.2 2002/04/14 10:46:25 vmassol Exp $
- Author:
- Vincent Massol
- See Also:
ServletTestCaller
Constructor Summary |
ServletTestRedirector()
Generic Servlet redirector that calls a test method on the server side. |
Methods inherited from class javax.servlet.http.HttpServlet |
service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServletTestRedirector
public ServletTestRedirector()
- Generic Servlet redirector that calls a test method on the server side.
- See Also:
ServletTestCaller
doGet
public void doGet(HttpServletRequest theRequest,
HttpServletResponse theResponse)
throws javax.servlet.ServletException
- Handle GET requests.
- Parameters:
theRequest
- the incoming HTTP client request
theResponse
- the outgoing HTTP client request to send back.
- Throws:
ServletException
- ServletException if an error occurs when servicing the
request
Affected by: around() in LogAspect
.
doPost
public void doPost(HttpServletRequest theRequest,
HttpServletResponse theResponse)
throws javax.servlet.ServletException
- Handle POST request. Extract from the HTTP request parameter, the
Service to perform : call test method or return tests results.
- Parameters:
theRequest
- the incoming HTTP request.
theResponse
- the outgoing HTTP response.
- Throws:
ServletException
- ServletException if an error occurs when servicing the
request
Affected by: around() in LogAspect
.
Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.