Method Summary |
|
public static Ajax | getInstance() |
native public String | serializeForm(String formId) |
public void | setAutoAbort(boolean autoAbort) Whether a new request should abort any pending requests. |
public void | setDefaultHeaders(NameValuePair[] defaultHeaders) Request headers which are added to each request made by this object. |
public void | setDisableCaching(boolean disableCaching) True to add a unique cache-buster param to GET requests. |
public void | setExtraParams(UrlParam[] params) Extra parameters to each request made by this object. |
public void | setMethod(Method method) The default HTTP method to be used for requests. |
public void | setTimeout(int timeout) The timeout in milliseconds to be used for requests. |
public void | setUrl(String url) The default URL to be used for requests to the server. |