java.lang.Object |
↳ |
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter<T> |
Summary
Nested Classes |
enum |
RequestCallbackAdapter.ResponseReader |
Enumeration used to read specific return types out of a
SerializationStreamReader . |
Public Constructors
Public Methods
public
void
onError
(Request request, Throwable exception)
Parameters
request
| the request object which has experienced the error
condition, may be null if the request was never generated |
exception
| the error that was encountered
|
public
void
onResponseReceived
(Request request, Response response)
Called when a pending Request
completes
normally. Note this method is called even when the status code of the
HTTP response is not "OK", 200.
Parameters
request
| the object that generated this event |
response
| an instance of the
Response class
|