Package | Description |
---|---|
com.google.gwt.http.client |
Provides the client-side classes and interfaces for making HTTP requests and
processing the associated responses.
|
com.google.gwt.user.client.rpc.impl |
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(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,
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 . |
Modifier and Type | Class and Description |
---|---|
class |
FailedRequest
A
Request that is already canceled at the moment it is created. |
Modifier and Type | Method and Description |
---|---|
protected <T> Request |
RemoteServiceProxy.doInvoke(RequestCallbackAdapter.ResponseReader responseReader,
String methodName,
RpcStatsContext statsContext,
String requestData,
AsyncCallback<T> callback)
Performs a remote service method invocation.
|
Request |
RemoteServiceProxy.ServiceHelper.finish(AsyncCallback callback,
RequestCallbackAdapter.ResponseReader responseHeader)
Finishes the serialization.
|
Request |
FailingRequestBuilder.send() |
Request |
FailingRequestBuilder.sendRequest(String requestData,
RequestCallback callback) |
Modifier and Type | Method and Description |
---|---|
void |
RequestCallbackAdapter.onError(Request request,
Throwable exception) |
void |
RequestCallbackAdapter.onResponseReceived(Request request,
Response response) |
Copyright © 2018. All rights reserved.