public interface ResponseSerializer
| Modifier and Type | Method and Description |
|---|---|
<O> ApiHttpResponse<O> |
convertResponse(ApiHttpResponse<byte[]> response,
Class<O> outputType) |
<O> ApiHttpResponse<O> |
convertResponse(ApiHttpResponse<byte[]> response,
JavaType outputType) |
<O> ApiHttpResponse<O> |
convertResponse(ApiHttpResponse<byte[]> response,
com.fasterxml.jackson.core.type.TypeReference<O> outputType) |
static ResponseSerializer |
of() |
static ResponseSerializer |
of(ObjectMapper mapper) |
byte[] |
toJsonByteArray(Object value) |
<O> ApiHttpResponse<O> convertResponse(ApiHttpResponse<byte[]> response, Class<O> outputType)
<O> ApiHttpResponse<O> convertResponse(ApiHttpResponse<byte[]> response, JavaType outputType)
<O> ApiHttpResponse<O> convertResponse(ApiHttpResponse<byte[]> response, com.fasterxml.jackson.core.type.TypeReference<O> outputType)
byte[] toJsonByteArray(Object value) throws com.fasterxml.jackson.core.JsonProcessingException
com.fasterxml.jackson.core.JsonProcessingExceptionstatic ResponseSerializer of()
static ResponseSerializer of(ObjectMapper mapper)