com.gargoylesoftware.htmlunit
Interface Page

All Known Implementing Classes:
HtmlPage, JavaScriptPage, TextPage, UnexpectedPage, XmlPage

public interface Page

An abstract page that represents some content returned from a server

Version:
$Revision: 1.3 $
Author:
Mike Bowler, David K. Taylor, Marc Guillemot

Method Summary
 void cleanUp()
 Clean up this 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.
 

Method Detail

cleanUp

void cleanUp()
             throws java.io.IOException
Clean up this page. Gets called by the web client when an other page is loaded in the window.

Throws:
java.io.IOException - If an IO problem occurs.

getEnclosingWindow

WebWindow getEnclosingWindow()
Return the window that this page is sitting inside.

Returns:
the enclosing window

getWebResponse

WebResponse getWebResponse()
Return the web response that was originally used to create this page.

Returns:
The web response

initialize

void initialize()
                throws java.io.IOException
Initialize this page.

Throws:
java.io.IOException - If an IO problem occurs.


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.