|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cactus.internal.client.WebResponseObjectFactory
public class WebResponseObjectFactory
Constructs Web response objects. Supports both Cactus
WebResponse and HttpUnit
com.meterware.httpunit.WebResponse response object creation.
| Constructor Summary | |
|---|---|
WebResponseObjectFactory(java.net.HttpURLConnection theConnection)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebResponseObjectFactory(java.net.HttpURLConnection theConnection)
theConnection - the connection object used to connect to the
Cactus server side| Method Detail |
|---|
public java.lang.Object getResponseObject(java.lang.String theClassName,
Request theRequest)
throws ClientException
ResponseObjectFactoryendXXX() and global end methods.
getResponseObject in interface ResponseObjectFactorytheClassName - the class name of the object to constructtheRequest - the request that was sent by Cactus to the server side
endXXX()
and end() methods
ClientException - if it fails to construct the response objectResponseObjectFactory.getResponseObject(java.lang.String, org.apache.cactus.Request)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||