|
|||||
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)
Create an instance |
Method Summary | |
---|---|
void |
cleanUp()
Clean up this page. |
java.lang.String |
getContent()
Return the content of the page |
WebWindow |
getEnclosingWindow()
Return the window that this page is sitting inside. |
WebResponse |
getWebResponse()
Return the web response that was originally used to create this page. |
void |
initialize()
Initialize this page. |
Methods inherited from class java.lang.Object |
---|
equals, 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 page.Method Detail |
---|
public void cleanUp()
cleanUp
in interface Page
public java.lang.String getContent()
public WebWindow getEnclosingWindow()
getEnclosingWindow
in interface Page
public WebResponse getWebResponse()
getWebResponse
in interface Page
public void initialize()
initialize
in interface Page
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |