com.gargoylesoftware.htmlunit
Interface RefreshHandler
- All Known Implementing Classes:
- ImmediateRefreshHandler, ThreadedRefreshHandler, WaitingRefreshHandler
public interface RefreshHandler
A handler for page refreshes. A refresh can be triggered by a response header
or a meta tag.
- Version:
- $Revision: 1.3 $
- Author:
- Mike Bowler, Daniel Gredler
Method Summary |
void |
handleRefresh(Page page,
java.net.URL url,
int seconds)
Refreshes the specified page using the specified URL after the specified number
of seconds. |
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
Copyright © 2003-2009 AppPerfect Corporation. All Rights Reserved.