public class StreamingBinaryResponseParser extends BinaryResponseParser
Modifier and Type | Field and Description |
---|---|
StreamingResponseCallback |
callback |
FastStreamingDocsCallback |
fastCallback |
BINARY_CONTENT_TYPE, stringCache
Constructor and Description |
---|
StreamingBinaryResponseParser(FastStreamingDocsCallback cb) |
StreamingBinaryResponseParser(StreamingResponseCallback cb) |
Modifier and Type | Method and Description |
---|---|
NamedList<Object> |
processResponse(InputStream body,
String encoding) |
createCodec, getContentType, getVersion, getWriterType, processResponse, setStringCache
public final StreamingResponseCallback callback
public final FastStreamingDocsCallback fastCallback
public StreamingBinaryResponseParser(StreamingResponseCallback cb)
public StreamingBinaryResponseParser(FastStreamingDocsCallback cb)
public NamedList<Object> processResponse(InputStream body, String encoding)
processResponse
in class BinaryResponseParser
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.