| java.lang.Object com.gargoylesoftware.htmlunit.ThreadedRefreshHandler
ThreadedRefreshHandler | public class ThreadedRefreshHandler implements RefreshHandler(Code) | | 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 .
version: $Revision: 2132 $ author: Mike Bowler author: Daniel Gredler |
Method Summary | |
public void | handleRefresh(Page page, URL url, int seconds) Refreshes the specified page using the specified URL after the specified number
of seconds. |
handleRefresh | public void handleRefresh(Page page, URL url, int seconds)(Code) | | Refreshes the specified page using the specified URL after the specified number
of seconds.
Parameters: page - The page that is going to be refreshed. Parameters: url - The URL where the new page will be loaded. Parameters: seconds - The number of seconds to wait before reloading the page. |
|
|