org.apache.cactus.server
class AbstractTestController

java.lang.Object
  |
  +--org.apache.cactus.server.AbstractTestController
Direct Known Subclasses:
JspTestController, ServletTestController
Known Advisors:
LogAspect

public abstract class AbstractTestController
extends java.lang.Object

Controller that extracts the requested service from the HTTP request and executes the request by calling a WebTestCaller. There are 2 services available : one for executing the test and one for returning the test result.

Version:
$Id: AbstractTestController.java,v 1.2 2002/03/10 13:58:25 vmassol Exp $
Author:
Vincent Massol

Constructor Summary
AbstractTestController()
          Controller that extracts the requested service from the HTTP request and executes the request by calling a WebTestCaller.
 
Method Summary
 void handleRequest(WebImplicitObjects theObjects)
          Handles the incoming request by extracting the requested service and calling the correct method on a WebTestCaller.
          Affected by: LogAspect
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTestController

public AbstractTestController()
Controller that extracts the requested service from the HTTP request and executes the request by calling a WebTestCaller. There are 2 services available : one for executing the test and one for returning the test result.
Method Detail

handleRequest

public void handleRequest(WebImplicitObjects theObjects)
                   throws javax.servlet.ServletException
Handles the incoming request by extracting the requested service and calling the correct method on a WebTestCaller.
Parameters:
theObjects - the implicit objects (they are different for the different redirectors)
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.