public class ImmediateRefreshHandler extends Object implements RefreshHandler, Serializable
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 refreshed.url
- The URL where the new page will be loaded.seconds
- The number of seconds to wait before reloading the page (ignored!).IOException
- if the refresh failsCopyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.