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 |
Classes used in client-side implementation of remote procedure calls.
|
com.google.web.bindery.requestfactory.gwt.client |
A package for managing client-server requests.
|
Modifier and Type | Method and Description |
---|---|
RequestCallback |
RequestBuilder.getCallback()
Returns the callback previously set by
RequestBuilder.setCallback(RequestCallback) , or null if no callback
was set. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Request.fireOnResponseReceived(RequestCallback callback) |
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.
|
void |
RequestBuilder.setCallback(RequestCallback callback)
Sets the response handler for this request.
|
Constructor and Description |
---|
Request(XMLHttpRequest xmlHttpRequest,
int timeoutMillis,
RequestCallback callback)
Constructs an instance of the Request object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RpcRequestBuilder.doSetCallback(RequestBuilder rb,
RequestCallback callback)
|
RpcRequestBuilder |
RpcRequestBuilder.setCallback(RequestCallback callback)
Sets the RequestCallback to be used by the RequestBuilder.
|
Modifier and Type | Method and Description |
---|---|
protected RequestCallback |
DefaultRequestTransport.createRequestCallback(RequestTransport.TransportReceiver receiver)
Creates a RequestCallback that maps the HTTP response onto the
TransportReceiver interface. |