| |
|
| java.lang.Object com.gargoylesoftware.htmlunit.UnexpectedPage
UnexpectedPage | public class UnexpectedPage implements Page(Code) | | A generic page that is returned whenever an unexpected content type is
returned by the server.
version: $Revision: 2132 $ author: Mike Bowler author: David K. Taylor |
UnexpectedPage | public UnexpectedPage(WebResponse webResponse, WebWindow enclosingWindow)(Code) | | Create an instance
Parameters: webResponse - The response from the server that contains the data required to create this page Parameters: enclosingWindow - The window that this page is being loaded into. |
cleanUp | public void cleanUp()(Code) | | Clean up this page.
|
getEnclosingWindow | public WebWindow getEnclosingWindow()(Code) | | Return the window that this page is sitting inside.
The enclosing frame or null if this page isn't inside a frame. |
getInputStream | public InputStream getInputStream() throws IOException(Code) | | Return an input stream representing all the content that was returned from the server.
See above. exception: IOException - If an IO error occurs |
getWebResponse | public WebResponse getWebResponse()(Code) | | Return the web response that was originally used to create this page.
The web response |
initialize | public void initialize()(Code) | | Initialize this page.
|
|
|
|