public class BasicWebdavPolicyFilter extends AbstractPolicyFilter implements WebdavPolicyFilter, PluginComponent
WebdavPolicyFilter
order
REVISION
Constructor and Description |
---|
BasicWebdavPolicyFilter() |
Modifier and Type | Method and Description |
---|---|
void |
handleWebdavHeaders(java.util.Map headers,
WebdavContext ctxt)
This method is called by WebdavManager to handle headers set
to all Webdav response.
|
void |
handleWebdavProperties(java.util.Set propAllSet)
This method is called by WebdavContext to add properties to Set of properties
used by PROPFIND method.
|
java.lang.String |
handleWebdavProperty(java.lang.String property,
java.lang.String jcms,
WebdavResource res,
WebdavContext ctxt)
This method handle response for the given property.
|
boolean |
init(Plugin plugin)
Initialize the component with the given plugin configuration
|
boolean |
silentFilterResource(boolean jcms,
WebdavResource res,
WebdavContext ctxt)
This method is called by CatWebdavFileSystem to ignore custom files
like windows thumb.db...
|
compareTo, equals, getOrder, setOrder
public boolean init(Plugin plugin)
PluginComponent
init
in interface PluginComponent
plugin
- the calling pluginPluginComponent.init(Plugin)
public void handleWebdavHeaders(java.util.Map headers, WebdavContext ctxt)
WebdavPolicyFilter
handleWebdavHeaders
in interface WebdavPolicyFilter
headers
- a Map of headers to handlectxt
- the WebdavContextWebdavPolicyFilter.handleWebdavHeaders(Map, WebdavContext)
public void handleWebdavProperties(java.util.Set propAllSet)
WebdavPolicyFilter
handleWebdavProperties
in interface WebdavPolicyFilter
propAllSet
- the Set of propertiesWebdavPolicyFilter.handleWebdavProperties(Set)
public java.lang.String handleWebdavProperty(java.lang.String property, java.lang.String jcms, WebdavResource res, WebdavContext ctxt)
WebdavPolicyFilter
handleWebdavProperty
in interface WebdavPolicyFilter
property
- the working propertyres
- the working webdavctxt
- the WebdavContextWebdavPolicyFilter.handleWebdavProperty(String, String, WebdavResource, WebdavContext)
public boolean silentFilterResource(boolean jcms, WebdavResource res, WebdavContext ctxt)
WebdavPolicyFilter
silentFilterResource
in interface WebdavPolicyFilter
jcms
- the choice of JCMSres
- the WebdavResourcectxt
- the WebdavContextWebdavPolicyFilter.silentFilterResource(boolean, WebdavResource, WebdavContext)
Copyright © 2001-2017 Jalios SA. All Rights Reserved.