public class UnexpectedPage extends Object implements Page
Constructor and Description |
---|
UnexpectedPage(WebResponse webResponse,
WebWindow enclosingWindow)
Create an instance
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Clean up this page.
|
WebWindow |
getEnclosingWindow()
Return the window that this page is sitting inside.
|
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.
|
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.public void initialize()
initialize
in interface Page
public InputStream getInputStream() throws IOException
IOException
- If an IO error occurspublic WebResponse getWebResponse()
getWebResponse
in interface Page
public WebWindow getEnclosingWindow()
getEnclosingWindow
in interface Page
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.