public class ImmediateRefreshHandler extends Object implements RefreshHandler, Serializable
If you want a refresh handler that does not ignore the wait time,
see ThreadedRefreshHandler
.
Constructor and Description |
---|
ImmediateRefreshHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleRefresh(Page page,
URL url,
int seconds)
Immediately refreshes the specified page using the specified URL.
|
public void handleRefresh(Page page, URL url, int seconds) throws IOException
handleRefresh
in interface RefreshHandler
page
- the page that is going to be refreshedurl
- the URL where the new page will be loadedseconds
- the number of seconds to wait before reloading the page (ignored!)IOException
- if the refresh failsCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.