public class JSONArrayCallback extends AbstractHttpRequestCallback<org.json.simple.JSONArray>
HttpRequestCallback
that parses the response body as a JSONArray
in
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.
|
onCallException
public org.json.simple.JSONArray onCallSuccess(org.apache.http.HttpResponse method)
HttpRequestCallback
Copyright © 2014. All rights reserved.