public class JsonResponseHandler extends StreamResponseHandler<com.google.gson.JsonElement>
JSONArrayResponseHandler and JSONObjectResponseHandlerreader| Constructor and Description |
|---|
JsonResponseHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
generateContent()
Generate the json object from the buffer and remove it to allow the GC to clean up properly
|
com.google.gson.JsonElement |
getContent()
Gets the content generated from the
response.
|
onReceiveStreambeforeFinish, beforeResponse, getConnectionInfo, onByteChunkReceived, onByteChunkReceivedProcessed, onByteChunkSent, onByteChunkSentProcessed, onFailure, onFinish, onSend, onSuccesspublic void generateContent()
generateContent in class ResponseHandler<com.google.gson.JsonElement>public com.google.gson.JsonElement getContent()
ResponseHandlergetContent in class ResponseHandler<com.google.gson.JsonElement>