Class JavaBinResponseParser
java.lang.Object
org.apache.solr.client.solrj.response.ResponseParser
org.apache.solr.client.solrj.response.JavaBinResponseParser
- Direct Known Subclasses:
StreamingJavaBinResponseParser
- Since:
- solr 1.3
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringprotected JavaBinCodec.StringCache -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected JavaBinCodecA well-behaved ResponseParser will return the content-types it supports.The writer type placed onto the request as thewtparam.processResponse(InputStream body, String encoding)
-
Field Details
-
JAVABIN_CONTENT_TYPE_V2
- See Also:
-
JAVABIN_CONTENT_TYPE
- See Also:
-
stringCache
-
-
Constructor Details
-
JavaBinResponseParser
public JavaBinResponseParser()
-
-
Method Details
-
setStringCache
-
getWriterType
Description copied from class:ResponseParserThe writer type placed onto the request as thewtparam.- Specified by:
getWriterTypein classResponseParser
-
processResponse
- Specified by:
processResponsein classResponseParser- Throws:
IOException
-
createCodec
-
getContentTypes
Description copied from class:ResponseParserA well-behaved ResponseParser will return the content-types it supports.- Specified by:
getContentTypesin classResponseParser- Returns:
- the content-type values that this parser is capable of parsing. Never null. Empty means no enforcement.
-