public class AnalyticsShardResponseParser extends ResponseParser
AnalyticsHandler
.
The input stream is immediately sent to the given AnalyticsRequestManager
to merge.Modifier and Type | Field and Description |
---|---|
static String |
BINARY_CONTENT_TYPE |
static String |
STREAM |
Constructor and Description |
---|
AnalyticsShardResponseParser(AnalyticsRequestManager manager) |
Modifier and Type | Method and Description |
---|---|
String |
getContentType() |
String |
getVersion() |
String |
getWriterType() |
NamedList<Object> |
processResponse(InputStream body,
String encoding) |
NamedList<Object> |
processResponse(Reader reader) |
public static final String BINARY_CONTENT_TYPE
public static final String STREAM
public AnalyticsShardResponseParser(AnalyticsRequestManager manager)
manager
- the manager of the current Analytics Request, will manage the merging of shard datapublic String getWriterType()
getWriterType
in class ResponseParser
public NamedList<Object> processResponse(InputStream body, String encoding)
processResponse
in class ResponseParser
public String getContentType()
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.