public class BinaryResponseParser extends ResponseParser
Modifier and Type | Field and Description |
---|---|
static String |
BINARY_CONTENT_TYPE |
Constructor and Description |
---|
BinaryResponseParser() |
Modifier and Type | Method and Description |
---|---|
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
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
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-2017 Apache Software Foundation. All Rights Reserved.