org.apache.cactus.spi.client
Interface ResponseObjectFactory

All Known Implementing Classes:
WebResponseObjectFactory

public interface ResponseObjectFactory

Constructs response object that are passed as parameter to endXXX() and global end() methods.

Version:
$Id: ResponseObjectFactory.java 238991 2004-05-22 11:34:50Z vmassol $

Method Summary
 java.lang.Object getResponseObject(java.lang.String theClassName, Request theRequest)
          Constructs response object that are passed as parameter to endXXX() and global end methods.
 

Method Detail

getResponseObject

java.lang.Object getResponseObject(java.lang.String theClassName,
                                   Request theRequest)
                                   throws ClientException
Constructs response object that are passed as parameter to endXXX() and global end methods.

Parameters:
theClassName - the class name of the object to construct
theRequest - the request that was sent by Cactus to the server side
Returns:
the response object that will be passed to endXXX() and end() methods
Throws:
ClientException - if it fails to construct the response object


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.