public abstract class VtiWebDavAction extends Object implements VtiAction, VtiWebDavActionExecutor
VtiWebDavAction is processor of WebDAV protocol. It provides
the back-end controller for dispatching among set of WebDAVMethods.
It selects and invokes a realization of WebDAVMethod
to perform the requested method of WebDAV protocol.
| Modifier and Type | Field and Description |
|---|---|
protected VtiPathHelper |
pathHelper |
protected WebDAVHelper |
webDavHelper |
| Constructor and Description |
|---|
VtiWebDavAction() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process WebDAV protocol request, dispatch among set of
WebDAVMethods, selects and invokes a realization of
WebDAVMethod
to perform the requested method of WebDAV protocol. |
void |
execute(WebDAVMethod method,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Plugable executor implementation allows overriding of this behaviour without disturbing
the class hierarchy.
|
abstract WebDAVMethod |
getWebDAVMethod()
Return executing WebDAV method.
|
void |
setActivityPoster(ActivityPoster activityPoster) |
void |
setDavActionExecutor(VtiWebDavActionExecutor davActionExecutor) |
void |
setPathHelper(VtiPathHelper pathHelper)
VtiPathHelper setter.
|
void |
setWebDavHelper(WebDAVHelper webDavHelper)
Provide a WebDAVHelper collaborator.
|
protected VtiPathHelper pathHelper
protected WebDAVHelper webDavHelper
public void execute(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process WebDAV protocol request, dispatch among set of
WebDAVMethods, selects and invokes a realization of WebDAVMethod
to perform the requested method of WebDAV protocol.
public abstract WebDAVMethod getWebDAVMethod()
Return executing WebDAV method.
pathHelper - VtiPathHelper.public void setDavActionExecutor(VtiWebDavActionExecutor davActionExecutor)
davActionExecutor - the WebDAV method executor.execute(WebDAVMethod, HttpServletRequest, HttpServletResponse)public void setActivityPoster(ActivityPoster activityPoster)
activityPoster - the activityPoster to setpublic void execute(WebDAVMethod method, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws WebDAVServerException
execute in interface VtiWebDavActionExecutormethod - request - response - WebDAVServerExceptionpublic void setPathHelper(VtiPathHelper pathHelper)
VtiPathHelper setter.
pathHelper - VtiPathHelper.public void setWebDavHelper(WebDAVHelper webDavHelper)
webDavHelper - the webDavHelper to setCopyright © 2005–2014 Alfresco Software. All rights reserved.