public class JSONArrayProcessor extends Processor<org.json.JSONArray>
JsonProcessor| Constructor and Description |
|---|
JSONArrayProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
getContent()
Processes the response from the stream.
|
void |
onPublishedDownloadProgress(byte[] chunk,
int chunkLength,
long totalProcessed,
long totalLength)
Called when a chunk has been downloaded from the request.
|
getConnectionInfo, onPublishedDownloadProgress, onPublishedUploadProgress, onPublishedUploadProgress, onSendpublic void onPublishedDownloadProgress(byte[] chunk,
int chunkLength,
long totalProcessed,
long totalLength)
ProcessoronPublishedDownloadProgress in class Processor<org.json.JSONArray>chunk - The chunk of data. This will be the null after the total amount has been downloaded.chunkLength - The length of the chunktotalProcessed - The total amount of data processed from the request.totalLength - The total size of the request. note: This can be
-1 during download.public org.json.JSONArray getContent()
getContent in class Processor<org.json.JSONArray>