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,v 1.1 2004/05/22 11:34:47 vmassol Exp $
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. |
getResponseObject
public 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 constructtheRequest
- 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 © 2000-2004 Apache Software Foundation. All Rights Reserved.