| java.lang.Object com.gargoylesoftware.htmlunit.ImmediateRefreshHandler
ImmediateRefreshHandler | public class ImmediateRefreshHandler implements RefreshHandler,Serializable(Code) | | The default handler for page refreshes. This refresh handler immediately
refreshes the specified page, using the specified URL and ignoring the
wait time.
If you want a refresh handler that does not ignore the wait time,
see
ThreadedRefreshHandler .
version: $Revision: 2132 $ author: Mike Bowler author: Daniel Gredler author: Marc Guillemot author: Ahmed Ashour |
Method Summary | |
public void | handleRefresh(Page page, URL url, int seconds) Immediately refreshes the specified page using the specified URL. |
handleRefresh | public void handleRefresh(Page page, URL url, int seconds) throws IOException(Code) | | Immediately refreshes the specified page using the specified URL.
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 (ignored!). throws: IOException - if the refresh fails |
|
|