|
|||||||||
| Home >> All >> org >> milligan >> eccles >> [ httpunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.milligan.eccles.httpunit
Class ResponseWrapper

java.lang.Objectorg.milligan.eccles.httpunit.ResponseWrapper
- public class ResponseWrapper
- extends java.lang.Object
Wrapper to an HttpUnit WebResponse. Expose funtionality via specialised Map Interfaces to be able to be read by the JSTL evaluator.
| Field Summary | |
protected com.meterware.httpunit.WebResponse |
_response
wrapped response |
| Constructor Summary | |
ResponseWrapper(com.meterware.httpunit.WebResponse response)
Constructor |
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
_response
protected com.meterware.httpunit.WebResponse _response
- wrapped response
| Constructor Detail |
ResponseWrapper
public ResponseWrapper(com.meterware.httpunit.WebResponse response)
- Constructor
| Method Detail |
get_response
public com.meterware.httpunit.WebResponse get_response()
- Get the wrapped response
set_Response
public void set_Response(com.meterware.httpunit.WebResponse response)
- Set the wrapped response
getLinkCount
public int getLinkCount()
throws org.xml.sax.SAXException
- Get count of links
getFormCount
public int getFormCount()
throws org.xml.sax.SAXException
- Get count of forms
getFrameCount
public int getFrameCount()
throws org.xml.sax.SAXException
- Get count of frames
getFrameNames
public java.lang.String[] getFrameNames() throws org.xml.sax.SAXException
getText
public java.lang.String getText() throws java.io.IOException
getContentType
public java.lang.String getContentType()
getURL
public java.net.URL getURL()
getTitle
public java.lang.String getTitle() throws org.xml.sax.SAXException
getCharacterSet
public java.lang.String getCharacterSet()
getTarget
public java.lang.String getTarget()
getRefreshRequest
public com.meterware.httpunit.WebRequest getRefreshRequest()
getResponseMessage
public java.lang.String getResponseMessage()
getDOM
public org.w3c.dom.Document getDOM() throws org.xml.sax.SAXException
getExternalStyleSheet
public java.lang.String getExternalStyleSheet() throws org.xml.sax.SAXException
getRefreshDelay
public int getRefreshDelay()
getForms
public com.meterware.httpunit.WebForm[] getForms() throws org.xml.sax.SAXException
getNewCookieNames
public java.lang.String[] getNewCookieNames()
getTables
public com.meterware.httpunit.WebTable[] getTables() throws org.xml.sax.SAXException
getLinks
public com.meterware.httpunit.WebLink[] getLinks() throws org.xml.sax.SAXException
getResponseCode
public int getResponseCode()
getHeaderFieldNames
public java.lang.String[] getHeaderFieldNames()
isHTML
public boolean isHTML()
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> org >> milligan >> eccles >> [ httpunit overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.milligan.eccles.httpunit.ResponseWrapper