WARNING: This class will be REMOVED in the next version.
@Deprecated public class MapReduceResponse extends HttpResponseDecorator implements HttpResponse
MapReduceResponse
impl
Constructor and Description |
---|
MapReduceResponse(HttpResponse r)
Deprecated.
On a 2xx response, parses the response into a
JSONArray |
Modifier and Type | Method and Description |
---|---|
org.json.JSONArray |
getResults()
Deprecated.
The result of the map-reduce query as a JSON array
|
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, getBody, getBodyAsString, getBucket, getHttpHeaders, getHttpMethod, getHttpResponse, getKey, getStatusCode, getStream, isError, isStreamed, isSuccess
public MapReduceResponse(HttpResponse r) throws org.json.JSONException
JSONArray
r
- The HTTP response query POST'd to the map-reduce resourceorg.json.JSONException
- Response is a 2xx but doesn't contain a valid JSON arrayCopyright © 2013. All Rights Reserved.