JavaScript is disabled on your browser.
Skip navigation links
org.htmlunit

Class ThreadedRefreshHandler

  • All Implemented Interfaces:
    RefreshHandler


    public class ThreadedRefreshHandler
    extends Object
    implements RefreshHandler 
    This refresh handler spawns a new thread that waits the specified number of seconds before refreshing the specified page, using the specified URL.

    If you want a refresh handler that ignores the wait time, see ImmediateRefreshHandler.

    Author:
    Mike Bowler, Daniel Gredler
    • Constructor Detail

      • ThreadedRefreshHandler

        public ThreadedRefreshHandler()
    • Method Detail

      • handleRefresh

        public void handleRefresh(Page page,
         URL url,
         int seconds)
        Refreshes the specified page using the specified URL after the specified number of seconds.
        Specified by:
        handleRefresh in interface RefreshHandler
        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
Skip navigation links

Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.

AltStyle によって変換されたページ (->オリジナル) /