@WebServlet(name="IndexController",
urlPatterns="/SearchIndex")
public class IndexController
extends FreemarkerHttpServlet
FreemarkerHttpServlet.TemplateVitroHttpServlet.PickListSorter| Modifier and Type | Field and Description |
|---|---|
static RequestedAction |
REQUIRED_ACTIONS |
BODY_TEMPLATE_TYPE, PAGE_TEMPLATE_TYPEHTML_MIMETYPE, JSON_LD_MIMETYPE, JSON_MIMETYPE, N3_MIMETYPE, publicDateFormat, RDFXML_MIMETYPE, TTL_MIMETYPE, XHTML_MIMETYPE| Constructor and Description |
|---|
IndexController() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
doGet does nothing.
|
protected String |
getTitle(String siteName,
VitroRequest vreq) |
void |
init() |
protected ResponseValues |
processRequest(VitroRequest vreq) |
protected AuthorizationRequest |
requiredActions(VitroRequest vreq)
By default, a page requires authorization for no actions.
|
static void |
setHistory(IndexHistory history)
Called by SearchIndexerSetup to provide a history that dates from
startup, not just from servlet load time.
|
doException, doForward, doPost, doRdf, doRedirect, doResponse, doTemplate, getBeansWrapper, getDisplayModelMenu, getFreemarkerComponentsForJsp, getPageTemplateName, getPageTemplateValues, getThemeDir, handleException, processTemplate, processTemplateToString, wrap, wrap, write, writePage, writeTemplate, writeTemplatedumpRequestParameters, isAuthorizedToDisplayPage, maximumMultipartFileSize, redirectToInsufficientAuthorizationPage, redirectToLoginPage, redirectUnauthorizedRequest, service, sortForPickList, stashFileSizeExceptiondoDelete, doHead, doOptions, doPut, doTrace, getLastModified, servicepublic static final RequestedAction REQUIRED_ACTIONS
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic static void setHistory(IndexHistory history)
public void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws IOException,
javax.servlet.ServletException
VitroHttpServletdoGet in class FreemarkerHttpServletIOExceptionjavax.servlet.ServletExceptionprotected String getTitle(String siteName, VitroRequest vreq)
getTitle in class FreemarkerHttpServletprotected AuthorizationRequest requiredActions(VitroRequest vreq)
FreemarkerHttpServletrequiredActions in class FreemarkerHttpServletprotected ResponseValues processRequest(VitroRequest vreq)
processRequest in class FreemarkerHttpServletCopyright © 2021. All rights reserved.