|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.TextPage
public class TextPage
A generic page that will be returned for any text related content. Specifically any content types that start with "text/"
Constructor Summary | |
---|---|
TextPage(WebResponse webResponse,
WebWindow enclosingWindow)
Creates an instance. |
Method Summary | |
---|---|
void |
cleanUp()
Cleans up this page. |
String |
getContent()
Returns the content of this page. |
WebWindow |
getEnclosingWindow()
Returns the window that this page is sitting inside. |
URL |
getUrl()
Returns the URL of this page. |
WebResponse |
getWebResponse()
Returns the web response that was originally used to create this page. |
void |
initialize()
Initializes this page. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextPage(WebResponse webResponse, WebWindow enclosingWindow)
webResponse
- the response from the serverenclosingWindow
- the window that holds the pageMethod Detail |
---|
public void initialize()
initialize
in interface Page
public void cleanUp()
cleanUp
in interface Page
public String getContent()
public WebResponse getWebResponse()
getWebResponse
in interface Page
public WebWindow getEnclosingWindow()
getEnclosingWindow
in interface Page
public URL getUrl()
getUrl
in interface Page
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |