public class JsonResponseHandler extends StreamResponseHandler<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
|
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<JsonElement>public JsonElement getContent()
ResponseHandlergetContent in class ResponseHandler<JsonElement>