- <init>
Creates a builder using the parameters values for configuration.
- sendRequest
Sends an HTTP request based on the current builder configuration with the
specified data and callbac
- setHeader
Sets a request header with the given name and value. If a header with the
specified name has already
- send
Sends an HTTP request based on the current builder configuration. If no request
headers have been se
- setCallback
Sets the response handler for this request. This method must be called before
calling #send().
- setRequestData
Sets the data to send as part of this request. This method must be called before
calling #send().
- setTimeoutMillis
Sets the number of milliseconds to wait for a request to complete. Should the
request timeout, the
c
- setIncludeCredentials
Sets whether the cross origin request will include credentials.
- getCallback
Returns the callback previously set by #setCallback(RequestCallback), or null if
no callback was set
- getUrl
Returns the HTTP URL specified in the constructor.
- getHTTPMethod
Returns the HTTP method specified in the constructor.
- getRequestData
Returns the requestData previously set by #setRequestData(String), or null if no
requestData was set