org.apache.cactus.server
Class ServletTestController

java.lang.Object
  extended byorg.apache.cactus.server.AbstractWebTestController
      extended byorg.apache.cactus.server.ServletTestController
All Implemented Interfaces:
TestController

public class ServletTestController
extends AbstractWebTestController

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

Version:
$Id: ServletTestController.java,v 1.5 2003/05/26 11:45:22 cmlenz Exp $
Author:
Vincent Massol

Constructor Summary
ServletTestController()
           
 
Method Summary
protected  AbstractWebTestCaller getTestCaller(WebImplicitObjects theObjects)
           
 
Methods inherited from class org.apache.cactus.server.AbstractWebTestController
handleRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletTestController

public ServletTestController()
Method Detail

getTestCaller

protected AbstractWebTestCaller getTestCaller(WebImplicitObjects theObjects)
Specified by:
getTestCaller in class AbstractWebTestController
Parameters:
theObjects - the implicit objects coming from the redirector
Returns:
the test caller that will be used to execute the test
See Also:
AbstractWebTestController.getTestCaller(WebImplicitObjects)


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