public class PlainTextResponseReader extends ResponseReader
BODY_FRAGMENT_CHARS| Constructor and Description |
|---|
PlainTextResponseReader(boolean ignoreHttpErrorCodes) |
| Modifier and Type | Method and Description |
|---|---|
String |
read(String httpBody,
Type returnType) |
protected RuntimeException |
readException(String httpBody,
Class<? extends RuntimeException> exceptionType) |
findCause, isIgnoreHttpErrorCodes, readpublic PlainTextResponseReader(boolean ignoreHttpErrorCodes)
public String 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.