|
||||||||||
| 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. |
java.lang.String |
getContent()
Returns the content of the page. |
WebWindow |
getEnclosingWindow()
Returns the window that this page is sitting inside. |
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 page| Method Detail |
|---|
public void initialize()
initialize in interface Pagepublic void cleanUp()
cleanUp in interface Pagepublic java.lang.String getContent()
public WebResponse getWebResponse()
getWebResponse in interface Pagepublic WebWindow getEnclosingWindow()
getEnclosingWindow in interface Page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||