public class JSONArrayCallback extends AbstractHttpRequestCallback<org.json.simple.JSONArray>
HttpRequestCallback that parses the response body as a JSONArrayin
the 'data' property (RestConstants#JSON_DATA) of the JSON body.
| Constructor and Description |
|---|
JSONArrayCallback() |
| Modifier and Type | Method and Description |
|---|---|
org.json.simple.JSONArray |
onCallSuccess(org.apache.http.HttpResponse method)
Called when call was successful.
|
onCallExceptionpublic org.json.simple.JSONArray onCallSuccess(org.apache.http.HttpResponse method)
HttpRequestCallbackCopyright © 2013. All Rights Reserved.