|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.UnexpectedPage
public class UnexpectedPage
A generic page that is returned whenever an unexpected content type is returned by the server.
Constructor Summary | |
---|---|
UnexpectedPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance |
Method Summary | |
---|---|
void |
cleanUp()
Clean up this page. |
WebWindow |
getEnclosingWindow()
Return the window that this page is sitting inside. |
java.io.InputStream |
getInputStream()
Return an input stream representing all the content that was returned from the server. |
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 UnexpectedPage(WebResponse webResponse, WebWindow enclosingWindow)
webResponse
- The response from the server that contains the data
required to create this pageenclosingWindow
- The window that this page is being loaded into.Method Detail |
---|
public void cleanUp()
cleanUp
in interface Page
public WebWindow getEnclosingWindow()
getEnclosingWindow
in interface Page
public java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- If an IO error occurspublic 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 |