Package org.htmlunit

Interface Page

    • Method Detail

      • initialize

        void initialize()
                 throws java.io.IOException
        Initialize this page. This method gets called when a new page is loaded and you should probably never need to call it directly.
        Throws:
        java.io.IOException - if an IO problem occurs
      • cleanUp

        void cleanUp()
        Clean up this page. This method gets called by the web client when an other page is loaded in the window and you should probably never need to call it directly
      • getWebResponse

        WebResponse getWebResponse()
        Returns the web response that was originally used to create this page.
        Returns:
        the web response
      • getEnclosingWindow

        WebWindow getEnclosingWindow()
        Returns the window that this page is sitting inside.
        Returns:
        the enclosing window
      • getUrl

        java.net.URL getUrl()
        Returns the URL of this page.
        Returns:
        the URL of this page
      • isHtmlPage

        boolean isHtmlPage()
        Returns true if this page is an HtmlPage.
        Returns:
        true or false