|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.JavaScriptPage
public class JavaScriptPage
A generic page that will be returned for JavaScript content. Specifically any content types of "text/javascript"
Constructor Summary | |
---|---|
JavaScriptPage(WebResponse webResponse,
WebWindow enclosingWindow)
Creates an instance. |
Method Summary | |
---|---|
void |
cleanUp()
Cleans up this page. |
String |
getContent()
Returns the content of the 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 JavaScriptPage(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 |