public class SmileResponseWriter extends BinaryResponseWriter
| Modifier and Type | Class and Description |
|---|---|
static class |
SmileResponseWriter.SmileWriter |
BinaryResponseWriter.ResolverCONTENT_TYPE_TEXT_ASCII, CONTENT_TYPE_TEXT_UTF8, CONTENT_TYPE_XML_UTF8| Constructor and Description |
|---|
SmileResponseWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(NamedList args)
init will be called just once, immediately after creation. |
void |
write(OutputStream out,
SolrQueryRequest request,
SolrQueryResponse response)
Use it to write the response in a binary format
|
getContentType, getParsedResponse, writepublic void write(OutputStream out, SolrQueryRequest request, SolrQueryResponse response) throws IOException
BinaryQueryResponseWriterwrite in interface BinaryQueryResponseWriterwrite in class BinaryResponseWriterIOExceptionpublic void init(NamedList args)
QueryResponseWriterinit will 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
init in interface QueryResponseWriterinit in interface NamedListInitializedPlugininit in class BinaryResponseWriterCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.