@Target(value=METHOD) @Inherited @Retention(value=RUNTIME) public @interface Xhr
vani checks whether a
xhr-request made by jquery for provided url is finished. For that, XHR
tracking must be enabled by injecting jquery javascript (done during first
jquery locating), because vani will register a listener and track all
xhr-requests in a page cache.| Modifier and Type | Required Element and Description |
|---|---|
String |
value |
| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
disabledByReturn
if true, wait will be skipped if annotated method returns
false,
NULL, 0 or empty literal (default: false) |
long |
timeoutInMillis
max time to wait for request in milliseconds (default: 30 seconds)
|
public abstract String value
Copyright © 2016. All rights reserved.