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 QueryResponseWriter
IOException
public String getContentType(SolrQueryRequest request, SolrQueryResponse response)
getContentType
in interface QueryResponseWriter
public void init(NamedList args)
init
in interface QueryResponseWriter
init
in interface NamedListInitializedPlugin
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.