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(HttpServletRequest request,
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,
HttpServletRequest request,
HttpServletResponse response)
Plugable executor implementation allows overriding of this behaviour without disturbing
the class hierarchy.
|
abstract WebDAVMethod |
getWebDAVMethod()
Return executing WebDAV method.
|
void |
setActivityPoster(WebDAVActivityPoster 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(HttpServletRequest request, 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.
public void setDavActionExecutor(VtiWebDavActionExecutor davActionExecutor)
davActionExecutor
- the WebDAV method executor.execute(WebDAVMethod, HttpServletRequest, HttpServletResponse)
public void setActivityPoster(WebDAVActivityPoster activityPoster)
activityPoster
- the activityPoster to setpublic void execute(WebDAVMethod method, HttpServletRequest request, HttpServletResponse response) throws WebDAVServerException
execute
in interface VtiWebDavActionExecutor
method
- WebDAVMethodrequest
- HttpServletRequestresponse
- HttpServletResponseWebDAVServerException
public void setPathHelper(VtiPathHelper pathHelper)
VtiPathHelper setter.
pathHelper
- VtiPathHelper
.public void setWebDavHelper(WebDAVHelper webDavHelper)
webDavHelper
- the webDavHelper to setCopyright © 2005–2017 Alfresco Software. All rights reserved.