public class JsonSupport extends Object
| Constructor and Description |
|---|
JsonSupport(com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
readValue(ByteBuffer data,
Class<T> valueType) |
protected String |
toJson(Exception e) |
protected String |
toJson(HttpResponse httpResponse) |
public JsonSupport(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
protected String toJson(HttpResponse httpResponse)
protected <T> T readValue(ByteBuffer data, Class<T> valueType) throws Exception
ExceptionCopyright © 2020. All rights reserved.