public class DefaultJsonResponseHandler<T> extends Object implements JsonResponseHandler
| Constructor and Description |
|---|
DefaultJsonResponseHandler(Class<T> clazz) |
DefaultJsonResponseHandler(Class<T> clazz,
DataPointTypeRegistry typeRegistry) |
DefaultJsonResponseHandler(Type type) |
DefaultJsonResponseHandler(Type type,
DataPointTypeRegistry typeRegistry) |
| Modifier and Type | Method and Description |
|---|---|
T |
handle(org.apache.http.client.methods.HttpUriRequest request,
ResponseHelper response) |
Object |
handleException(org.apache.http.client.methods.HttpUriRequest request,
Exception exception) |
public DefaultJsonResponseHandler(Type type)
public DefaultJsonResponseHandler(Class<T> clazz, DataPointTypeRegistry typeRegistry)
public DefaultJsonResponseHandler(Type type, DataPointTypeRegistry typeRegistry)
public Object handleException(org.apache.http.client.methods.HttpUriRequest request, Exception exception) throws RuntimeException
handleException in interface JsonResponseHandlerRuntimeExceptionpublic T handle(org.apache.http.client.methods.HttpUriRequest request, ResponseHelper response) throws RuntimeException
handle in interface JsonResponseHandlerRuntimeExceptionCopyright © 2020. All rights reserved.