|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.AjaxController
public class AjaxController
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.
Constructor Summary | |
---|---|
AjaxController()
|
Method Summary | |
---|---|
boolean |
processSynchron(HtmlPage page,
WebRequestSettings requestSettings,
boolean async)
Gets notified of an AJAX call to determine how it should be processed |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AjaxController()
Method Detail |
---|
public boolean processSynchron(HtmlPage page, WebRequestSettings requestSettings, boolean async)
page
- the page the request comes fromrequestSettings
- the request that should be performedasync
- indicates if the request should originally be asynchron
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |