|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.meterware.httpunit.WebResponse
A response from a web server to an Http request.
Method Summary | |
java.lang.String |
getCharacterSet()
Returns the character set used in this response. |
java.lang.String |
getContentType()
Returns the content type of this response. |
org.w3c.dom.Document |
getDOM()
Returns a copy of the domain object model tree associated with this response. |
WebForm[] |
getForms()
Returns the forms found in the page in the order in which they appear. |
WebLink[] |
getLinks()
Returns the links found in the page in the order in which they appear. |
WebLink |
getLinkWith(java.lang.String text)
Returns the first link which contains the specified text. |
WebLink |
getLinkWithImageText(java.lang.String text)
Returns the first link which contains an image with the specified text as its 'alt' attribute. |
WebTable[] |
getTables()
Returns the top-level tables found in this page in the order in which they appear. |
WebTable |
getTableStartingWith(java.lang.String text)
Returns the first table in the response which has the specified text as the full text of its first non-blank row and non-blank column. |
WebTable |
getTableStartingWithPrefix(java.lang.String text)
Returns the first table in the response which has the specified text as a prefix of the text of its first non-blank row and non-blank column. |
java.lang.String |
getText()
Returns the text of the response (excluding headers) as a string. |
java.lang.String |
getTitle()
Returns the title of the page. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public java.lang.String getContentType()
public java.lang.String getCharacterSet()
public java.lang.String getTitle() throws org.xml.sax.SAXException
public WebForm[] getForms() throws org.xml.sax.SAXException
public WebLink[] getLinks() throws org.xml.sax.SAXException
public WebLink getLinkWith(java.lang.String text) throws org.xml.sax.SAXException
public WebLink getLinkWithImageText(java.lang.String text) throws org.xml.sax.SAXException
public WebTable[] getTables() throws org.xml.sax.SAXException
public org.w3c.dom.Document getDOM() throws org.xml.sax.SAXException
public WebTable getTableStartingWith(java.lang.String text) throws org.xml.sax.SAXException
public WebTable getTableStartingWithPrefix(java.lang.String text) throws org.xml.sax.SAXException
public java.lang.String getText()
public java.lang.String toString()
|
Copyright © 2000 Russell Gold. See license agreement for rights granted. | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |