public class JacksonResponseReader extends ResponseReader
BODY_FRAGMENT_CHARS| Constructor and Description |
|---|
JacksonResponseReader(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
boolean ignoreHttpErrorCodes) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
read(String httpBody,
Type returnType) |
protected RuntimeException |
readException(String httpBody,
Class<? extends RuntimeException> exceptionType) |
findCause, isIgnoreHttpErrorCodes, readpublic JacksonResponseReader(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
boolean ignoreHttpErrorCodes)
public <T> T read(String httpBody, Type returnType) throws IOException
read in class ResponseReaderIOExceptionprotected RuntimeException readException(String httpBody, Class<? extends RuntimeException> exceptionType) throws IOException
readException in class ResponseReaderIOExceptionCopyright © 2012–2021. All rights reserved.