Package org.apache.solr.response
Class SmileResponseWriter
- java.lang.Object
- 
- org.apache.solr.response.BinaryResponseWriter
- 
- org.apache.solr.response.SmileResponseWriter
 
 
- 
- All Implemented Interfaces:
- BinaryQueryResponseWriter,- QueryResponseWriter,- NamedListInitializedPlugin
 
 public class SmileResponseWriter extends BinaryResponseWriter 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSmileResponseWriter.SmileWriter- 
Nested classes/interfaces inherited from class org.apache.solr.response.BinaryResponseWriterBinaryResponseWriter.Resolver
 
- 
 - 
Field Summary- 
Fields inherited from interface org.apache.solr.response.QueryResponseWriterCONTENT_TYPE_TEXT_ASCII, CONTENT_TYPE_TEXT_UTF8, CONTENT_TYPE_XML_UTF8
 
- 
 - 
Constructor SummaryConstructors Constructor Description SmileResponseWriter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit(NamedList args)initwill be called just once, immediately after creation.voidwrite(OutputStream out, SolrQueryRequest request, SolrQueryResponse response)Use it to write the response in a binary format- 
Methods inherited from class org.apache.solr.response.BinaryResponseWritergetContentType, getParsedResponse, write
 
- 
 
- 
- 
- 
Method Detail- 
writepublic void write(OutputStream out, SolrQueryRequest request, SolrQueryResponse response) throws IOException Description copied from interface:BinaryQueryResponseWriterUse it to write the response in a binary format- Specified by:
- writein interface- BinaryQueryResponseWriter
- Overrides:
- writein class- BinaryResponseWriter
- Throws:
- IOException
 
 - 
initpublic void init(NamedList args) Description copied from interface:QueryResponseWriterinitwill be called just once, immediately after creation.The args are user-level initialization parameters that may be specified when declaring a response writer in solrconfig.xml - Specified by:
- initin interface- NamedListInitializedPlugin
- Specified by:
- initin interface- QueryResponseWriter
- Overrides:
- initin class- BinaryResponseWriter
 
 
- 
 
-