org.apache.cactus.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.4 2003/05/26 11:45:25 cmlenz Exp $
- Author:
- Vincent Massol
Method Summary |
java.lang.Object |
getResponseObject(java.lang.String theClassName,
Request theRequest,
java.net.HttpURLConnection theConnection)
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,
java.net.HttpURLConnection theConnection)
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 sidetheConnection
- the HTTP connection object that was used by Cactus
to connect to the server side
- Returns:
- the response object that will be passed to
endXXX()
methods and to the global end method
- Throws:
ClientException
- if it fails to construct the response object
Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.