|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.ThreadedRefreshHandler
public class ThreadedRefreshHandler
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.
| Constructor Summary | |
|---|---|
ThreadedRefreshHandler()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadedRefreshHandler()
| Method Detail |
|---|
public void handleRefresh(Page page,
java.net.URL url,
int seconds)
handleRefresh in interface RefreshHandlerpage - 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||