public abstract static class Adapter.JsonCallback extends java.lang.Object implements Adapter.Callback
Adapter.Callback.onError(Throwable) method is called.| Constructor and Description |
|---|
Adapter.JsonCallback() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
onSuccess(java.lang.Object response)
The method invoked when the call completes successfully.
|
void |
onSuccess(java.lang.String response)
The method invoked when the call completes successfully.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonErrorpublic abstract void onSuccess(java.lang.Object response)
JSONObject,
JSONArray, String, Number, Boolean, or
JSONObject.NULL.response - The JSON object.public void onSuccess(java.lang.String response)
Adapter.CallbackonSuccess in interface Adapter.Callbackresponse - The HTTP response body.