|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.endeca.infront.assembler.servlet.AbstractAssemblerServlet
com.endeca.infront.assembler.servlet.spring.SpringAssemblerServlet
public class SpringAssemblerServlet
Extends the AbstractAssemblerServlet to provide the needed
AssemblerFactory and ResponseWriter using the
Spring Framework.
| Field Summary | |
|---|---|
static String |
ASSEMBLER_FACTORY_ID_PARAM
The servlet parameter used to specify the Spring bean ID of the AssemblerFactory to use. |
static String |
KEYWORD_REDIRECTS_PARAM
The servlet parameter used to enable keyword redirects. |
static String |
RESPONSE_WRITER_ID_PARAM
The servlet parameter used to specify the Spring bean ID of the ResponseWriter to use. |
| Constructor Summary | |
|---|---|
SpringAssemblerServlet()
|
|
| Method Summary | |
|---|---|
protected boolean |
enableKeywordRedirects()
A method to obtain whether or not keyword redirects should be supported. |
AssemblerFactory |
getAssemblerFactory()
Retrieves an AssemblerFactory using the Spring Framework. |
ResponseWriter |
getResponseWriter()
Retrieves a ResponseWriter using the Spring Framework. |
void |
init(javax.servlet.ServletConfig config)
|
| Methods inherited from class com.endeca.infront.assembler.servlet.AbstractAssemblerServlet |
|---|
createAssemblerInput, doGet |
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String ASSEMBLER_FACTORY_ID_PARAM
AssemblerFactory to use.
public static final String RESPONSE_WRITER_ID_PARAM
ResponseWriter to use.
public static final String KEYWORD_REDIRECTS_PARAM
| Constructor Detail |
|---|
public SpringAssemblerServlet()
| Method Detail |
|---|
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic AssemblerFactory getAssemblerFactory()
AssemblerFactory using the Spring Framework. The
ID of the Spring bean to return is specified using the servlet parameter
ASSEMBLER_FACTORY_ID_PARAM.
getAssemblerFactory in class AbstractAssemblerServletpublic ResponseWriter getResponseWriter()
ResponseWriter using the Spring Framework. The
ID of the Spring bean to return is specified using the servlet parameter
RESPONSE_WRITER_ID_PARAM.
getResponseWriter in class AbstractAssemblerServletprotected boolean enableKeywordRedirects()
AbstractAssemblerServlet
Note that if this method returns true, keyword redirect information will
be returned whenever a search term matches a defined redirect. Therefore,
services that use search terms but do not want keyword redirects (like
the dimension search service) must disable redirects via their content.xml file
(by supplying an empty redirectCollection).
enableKeywordRedirects in class AbstractAssemblerServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||