| java.lang.Object com.gargoylesoftware.htmlunit.AjaxController
All known Subclasses: com.gargoylesoftware.htmlunit.NicelyResynchronizingAjaxController,
AjaxController | public class AjaxController implements Serializable(Code) | | This class gets notified of AJAX calls and has the possibility to influence them.
For instance it can turn asynchron calls synchron to allow a deterministic test
and avoid the necessity of waiting.
EXPERIMENTAL - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
version: $Revision: 1165 $ author: Marc Guillemot |
Method Summary | |
public boolean | processSynchron(HtmlPage page, WebRequestSettings requestSettings, boolean async) Gets notified of an AJAX call to determine how it should be processed
Parameters: page - the page the request comes from Parameters: requestSettings - the request that should be performed Parameters: async - indicates if the request should originally be asynchron if the call should be synchron or not. |
processSynchron | public boolean processSynchron(HtmlPage page, WebRequestSettings requestSettings, boolean async)(Code) | | Gets notified of an AJAX call to determine how it should be processed
Parameters: page - the page the request comes from Parameters: requestSettings - the request that should be performed Parameters: async - indicates if the request should originally be asynchron if the call should be synchron or not. Here just like the original call. |
|
|