public class VtiRequestDispatcher
extends javax.servlet.http.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(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
VtiAction targetAction)
Execute the particular Sharepoint action.
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a HTTP request.
|
void |
setVtiPathHelper(VtiPathHelper vtiPathHelper)
Provide a
VtiPathHelper collaborator instance. |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic 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(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
Process a HTTP request.
service in class javax.servlet.http.HttpServletrequest - processing servlet requestresponse - creating servlet responseIOException - if an input/output error occursjavax.servlet.ServletException - if a servlet exception occursprotected void executeAction(javax.servlet.http.HttpServletRequest httpRequest,
javax.servlet.http.HttpServletResponse httpResponse,
VtiAction targetAction)
httpRequest - httpResponse - targetAction - public void setVtiPathHelper(VtiPathHelper vtiPathHelper)
VtiPathHelper collaborator instance.vtiPathHelper - Copyright © 2005–2014 Alfresco Software. All rights reserved.