| Package | Description | 
|---|---|
| org.htmlunit | 
 Framework classes (contains the  
WebClient
 class which is the main entry point). | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ImmediateRefreshHandler
This refresh handler immediately refreshes the specified page,
 using the specified URL and ignoring the wait time. 
 | 
class  | 
NiceRefreshHandler
This refresh handler performs an immediate refresh if the refresh delay is
 less or equal to the configured time and otherwise ignores totally the refresh instruction. 
 | 
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. 
 | 
class  | 
WaitingRefreshHandler
This refresh handler waits the specified number of seconds (or a user defined maximum)
 before refreshing the specified page, using the specified URL. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
RefreshHandler | 
WebClient.getRefreshHandler()
Returns the current refresh handler. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
WebClient.setRefreshHandler(RefreshHandler handler)
Sets the handler to be used whenever a refresh is triggered. 
 | 
Copyright © 2002–2025 Gargoyle Software Inc.. All rights reserved.