public abstract class FetchJSONCallback
extends java.lang.Object
implements com.google.gwt.user.client.rpc.AsyncCallback
Callback for fetching an input JavaBean from the server. Handles deserializing the returned JSON into a JSONObject.
The posssible onFailure()
exceptions that can be returned
if there is a problem include:
BeanTransferException
where there is a server-side problem
fetching the JSON/JavaBean.Constructor and Description |
---|
FetchJSONCallback() |
Modifier and Type | Method and Description |
---|---|
abstract void |
onFetchJSONSuccess(com.google.gwt.json.client.JSONObject result)
Implement this method to process the response from the RPC.
|
void |
onSuccess(java.lang.Object result) |
public abstract void onFetchJSONSuccess(com.google.gwt.json.client.JSONObject result)
result
- Returns GWT JSON represented object.public final void onSuccess(java.lang.Object result)
onSuccess
in interface com.google.gwt.user.client.rpc.AsyncCallback
Copyright © Grand Logic, Inc. All Rights Reserved.