public class BinaryResponseParser extends ResponseParser
Modifier and Type | Field and Description |
---|---|
static String |
BINARY_CONTENT_TYPE |
protected JavaBinCodec.StringCache |
stringCache |
Constructor and Description |
---|
BinaryResponseParser() |
Modifier and Type | Method and Description |
---|---|
protected JavaBinCodec |
createCodec() |
String |
getContentType()
A well behaved ResponseParser will return its content-type.
|
String |
getVersion() |
String |
getWriterType() |
NamedList<Object> |
processResponse(InputStream body,
String encoding) |
NamedList<Object> |
processResponse(Reader reader) |
BinaryResponseParser |
setStringCache(JavaBinCodec.StringCache cache) |
public static final String BINARY_CONTENT_TYPE
protected JavaBinCodec.StringCache stringCache
public BinaryResponseParser setStringCache(JavaBinCodec.StringCache cache)
public String getWriterType()
getWriterType
in class ResponseParser
public NamedList<Object> processResponse(InputStream body, String encoding)
processResponse
in class ResponseParser
protected JavaBinCodec createCodec()
public String getContentType()
ResponseParser
getContentType
in class ResponseParser
public String getVersion()
getVersion
in class ResponseParser
public NamedList<Object> processResponse(Reader reader)
processResponse
in class ResponseParser
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.