Class JacksonDataBindResponseParser<T>
java.lang.Object
org.apache.solr.client.solrj.response.ResponseParser
org.apache.solr.client.solrj.response.json.JacksonDataBindResponseParser<T>
Parses JSON, deserializing to a domain type (class) via Jackson data-bind.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA well-behaved ResponseParser will return the content-types it supports.The writer type placed onto the request as thewtparam.processResponse(InputStream stream, String encoding)
-
Constructor Details
-
JacksonDataBindResponseParser
-
-
Method Details
-
getWriterType
Description copied from class:ResponseParserThe writer type placed onto the request as thewtparam.- Specified by:
getWriterTypein classResponseParser
-
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.
-
processResponse
- Specified by:
processResponsein classResponseParser- Throws:
IOException
-