Package org.apache.solr.client.solrj
Class ResponseParser
- java.lang.Object
- 
- org.apache.solr.client.solrj.ResponseParser
 
- 
- Direct Known Subclasses:
- BinaryResponseParser,- DelegationTokenResponse.JsonMapResponseParser,- InputStreamResponseParser,- NoOpResponseParser,- XMLResponseParser
 
 public abstract class ResponseParser extends Object - Since:
- solr 1.3
 
- 
- 
Constructor SummaryConstructors Constructor Description ResponseParser()
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetContentType()A well behaved ResponseParser will return its content-type.StringgetVersion()abstract StringgetWriterType()abstract NamedList<Object>processResponse(InputStream body, String encoding)abstract NamedList<Object>processResponse(Reader reader)
 
- 
- 
- 
Method Detail- 
getWriterTypepublic abstract String getWriterType() 
 - 
processResponsepublic abstract NamedList<Object> processResponse(InputStream body, String encoding) 
 - 
getContentTypepublic String getContentType() A well behaved ResponseParser will return its content-type.- Returns:
- the content-type this parser expects to parse
 
 - 
getVersionpublic String getVersion() - Returns:
- the version param passed to solr
 
 
- 
 
-