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, read
public PlainTextResponseReader(boolean ignoreHttpErrorCodes)
public String read(String httpBody, Type returnType) throws IOException
read
in class ResponseReader
IOException
protected RuntimeException readException(String httpBody, Class<? extends RuntimeException> exceptionType) throws IOException
readException
in class ResponseReader
IOException
Copyright © 2012–2016. All rights reserved.