public class TextResponseBody extends java.lang.Object implements HttpResponseBody
| Modifier and Type | Field and Description |
|---|---|
static java.nio.charset.Charset |
DEFAULT_HTTP_TEXT_CHARSET |
| Constructor and Description |
|---|
TextResponseBody(Result result,
java.io.InputStream in,
ContentType type,
HeaderSet headers) |
TextResponseBody(Result result,
java.io.Reader in,
ContentType type,
HeaderSet headers) |
| Modifier and Type | Method and Description |
|---|---|
void |
outputBody(TreeBuilder b) |
public static final java.nio.charset.Charset DEFAULT_HTTP_TEXT_CHARSET
public TextResponseBody(Result result, java.io.InputStream in, ContentType type, HeaderSet headers) throws HttpClientException
HttpClientExceptionpublic TextResponseBody(Result result, java.io.Reader in, ContentType type, HeaderSet headers) throws HttpClientException
HttpClientExceptionpublic void outputBody(TreeBuilder b) throws HttpClientException
outputBody in interface HttpResponseBodyHttpClientExceptionCopyright © 2015-2020 EXPath. All Rights Reserved