public class VelocityResponseWriter extends Object implements QueryResponseWriter, SolrCoreAware
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_TYPE
Deprecated.
|
static String |
DEFAULT_CONTENT_TYPE
Deprecated.
|
static String |
JSON
Deprecated.
|
static String |
JSON_CONTENT_TYPE
Deprecated.
|
static String |
LAYOUT
Deprecated.
|
static String |
LAYOUT_ENABLED
Deprecated.
|
static String |
LOCALE
Deprecated.
|
static String |
PROPERTIES_FILE
Deprecated.
|
static String |
SOLR_RESOURCE_LOADER_ENABLED
Deprecated.
|
static String |
TEMPLATE
Deprecated.
|
static String |
TEMPLATE_BASE_DIR
Deprecated.
|
static String |
TEMPLATE_EXTENSION
Deprecated.
|
CONTENT_TYPE_TEXT_ASCII, CONTENT_TYPE_TEXT_UTF8, CONTENT_TYPE_XML_UTF8
Constructor and Description |
---|
VelocityResponseWriter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getContentType(SolrQueryRequest request,
SolrQueryResponse response)
Deprecated.
|
void |
inform(SolrCore core)
Deprecated.
|
void |
init(NamedList args)
Deprecated.
|
void |
write(Writer writer,
SolrQueryRequest request,
SolrQueryResponse response)
Deprecated.
|
public static final String TEMPLATE_BASE_DIR
public static final String PROPERTIES_FILE
public static final String SOLR_RESOURCE_LOADER_ENABLED
public static final String TEMPLATE
public static final String LAYOUT
public static final String LAYOUT_ENABLED
public static final String CONTENT_TYPE
public static final String JSON
public static final String LOCALE
public static final String TEMPLATE_EXTENSION
public static final String DEFAULT_CONTENT_TYPE
public static final String JSON_CONTENT_TYPE
public void init(NamedList args)
init
in interface QueryResponseWriter
init
in interface NamedListInitializedPlugin
public void inform(SolrCore core)
inform
in interface SolrCoreAware
public String getContentType(SolrQueryRequest request, SolrQueryResponse response)
getContentType
in interface QueryResponseWriter
public void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response) throws IOException
write
in interface QueryResponseWriter
IOException
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.