Class TapirThreadedRefreshHandler

  • All Implemented Interfaces:
    com.gargoylesoftware.htmlunit.RefreshHandler

    public class TapirThreadedRefreshHandler
    extends java.lang.Object
    implements com.gargoylesoftware.htmlunit.RefreshHandler
    Refreshes the specified page using the specified URL after the specified number of seconds.
    Since:
    2.0.0
    Author:
    Oliver Libutzki <[email protected]>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handleRefresh​(com.gargoylesoftware.htmlunit.Page page, java.net.URL url, int requestedWait)
      Refreshes the specified page using the specified URL after the specified number of seconds.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TapirThreadedRefreshHandler

        public TapirThreadedRefreshHandler()
    • Method Detail

      • handleRefresh

        public void handleRefresh​(com.gargoylesoftware.htmlunit.Page page,
                                  java.net.URL url,
                                  int requestedWait)
        Refreshes the specified page using the specified URL after the specified number of seconds.
        Specified by:
        handleRefresh in interface com.gargoylesoftware.htmlunit.RefreshHandler
        Parameters:
        page - the page that is going to be refreshed
        url - the URL where the new page will be loaded
        requestedWait - the number of seconds to wait before reloading the page
        Since:
        2.0.0