public class SmileResponseWriter extends BinaryResponseWriter
Modifier and Type | Class and Description |
---|---|
static class |
SmileResponseWriter.SmileWriter |
BinaryResponseWriter.Resolver
CONTENT_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, write
public void write(OutputStream out, SolrQueryRequest request, SolrQueryResponse response) throws IOException
BinaryQueryResponseWriter
write
in interface BinaryQueryResponseWriter
write
in class BinaryResponseWriter
IOException
public void init(NamedList args)
QueryResponseWriter
init
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 QueryResponseWriter
init
in interface NamedListInitializedPlugin
init
in class BinaryResponseWriter
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.