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