com.gargoylesoftware.htmlunit
Class AjaxController
java.lang.Object
com.gargoylesoftware.htmlunit.AjaxController
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- NicelyResynchronizingAjaxController
public class AjaxController
- extends Object
- implements Serializable
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
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AjaxController
public AjaxController()
processSynchron
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 fromrequestSettings
- the request that should be performedasync
- indicates if the request should originally be asynchron
- Returns:
- if the call should be synchron or not. Here just like the original call.
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.