Package org.htmlunit

Interface RefreshHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void handleRefresh​(Page page, java.net.URL url, int seconds)
      Refreshes the specified page using the specified URL after the specified number of seconds.
    • Method Detail

      • handleRefresh

        void handleRefresh​(Page page,
                           java.net.URL url,
                           int seconds)
                    throws java.io.IOException
        Refreshes the specified page using the specified URL after the specified number of seconds.
        Parameters:
        page - the page that is going to be refreshed
        url - the URL where the new page will be loaded
        seconds - the number of seconds to wait before reloading the page
        Throws:
        java.io.IOException - if the refresh fails