public class VelocityResponseWriter extends Object implements QueryResponseWriter
CONTENT_TYPE_TEXT_ASCII, CONTENT_TYPE_TEXT_UTF8, CONTENT_TYPE_XML_UTF8| Constructor and Description |
|---|
VelocityResponseWriter() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType(SolrQueryRequest request,
SolrQueryResponse response) |
void |
init(NamedList args) |
void |
write(Writer writer,
SolrQueryRequest request,
SolrQueryResponse response) |
public void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException
write in interface QueryResponseWriterIOExceptionpublic String getContentType(SolrQueryRequest request, SolrQueryResponse response)
getContentType in interface QueryResponseWriterpublic void init(NamedList args)
init in interface QueryResponseWriterinit in interface NamedListInitializedPluginCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.