public class VtiRequestDispatcher extends HttpServlet
VtiRequestDispatcher provides the front-end controller for dispatching among
set of VtiActions. It selects and invokes a realization of VtiAction
to
perform the requested business logic.
Modifier and Type | Class and Description |
---|---|
static class |
VtiRequestDispatcher.ActionMapping
ActionMapping provides configuration class that define mapping of url-pattern and
specific rules to
VtiAction . |
Modifier and Type | Field and Description |
---|---|
static String |
VTI_ALFRESCO_CONTEXT |
Constructor and Description |
---|
VtiRequestDispatcher(List<VtiRequestDispatcher.ActionMapping> actionList)
VtiRequestDispatcher is initialized by list of
VtiRequestDispatcher.ActionMapping . |
Modifier and Type | Method and Description |
---|---|
protected void |
executeAction(HttpServletRequest httpRequest,
HttpServletResponse httpResponse,
VtiAction targetAction)
Execute the particular Sharepoint action.
|
void |
service(HttpServletRequest request,
HttpServletResponse response)
Process a HTTP request.
|
void |
setVtiPathHelper(VtiPathHelper vtiPathHelper)
Provide a
VtiPathHelper collaborator instance. |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public static final String VTI_ALFRESCO_CONTEXT
public VtiRequestDispatcher(List<VtiRequestDispatcher.ActionMapping> actionList)
VtiRequestDispatcher is initialized by list of VtiRequestDispatcher.ActionMapping
.
actionList
- list the action mappingspublic void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
Process a HTTP request.
service
in class HttpServlet
request
- processing servlet requestresponse
- creating servlet responseIOException
- if an input/output error occursServletException
- if a servlet exception occursprotected void executeAction(HttpServletRequest httpRequest, HttpServletResponse httpResponse, VtiAction targetAction)
httpRequest
- httpResponse
- targetAction
- public void setVtiPathHelper(VtiPathHelper vtiPathHelper)
VtiPathHelper
collaborator instance.vtiPathHelper
- Copyright © 2005–2017 Alfresco Software. All rights reserved.