Package | Description |
---|---|
com.google.gwt.http.client |
Provides the client-side classes and interfaces for making HTTP requests and
processing the associated responses.
|
Modifier and Type | Method and Description |
---|---|
Request |
RequestTimeoutException.getRequest()
Returns the
Request instance which timed out. |
Request |
RequestBuilder.send()
Sends an HTTP request based on the current builder configuration.
|
Request |
RequestBuilder.sendRequest(java.lang.String requestData,
RequestCallback callback)
Sends an HTTP request based on the current builder configuration with the
specified data and callback.
|
Modifier and Type | Method and Description |
---|---|
void |
RequestCallback.onError(Request request,
java.lang.Throwable exception)
Called when a
Request does not complete
normally. |
void |
RequestCallback.onResponseReceived(Request request,
Response response)
Called when a pending
Request completes
normally. |
Constructor and Description |
---|
RequestTimeoutException(Request request,
int timeoutMillis)
Constructs a timeout exception for the given
Request . |