Package io.milton.http.webdav
Class WebDavProtocol
java.lang.Object
io.milton.http.webdav.WebDavProtocol
- All Implemented Interfaces:
HttpExtension,PropertySource
Defines the methods and properties that make up the webdav protocol.
We've been a little pragmatic about what the webdav protocol actually is. It
generally doesnt include things defined in subsequent protocols (RFC's), but
where something is frequently used by other protocols (like REPORT) or is
very tightly couple with normal webdav operations (like quota checking)
you'll find it here
- Author:
- brad
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.milton.property.PropertySource
PropertySource.PropertyAccessibility, PropertySource.PropertyMetaData, PropertySource.PropertySetException -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWebDavProtocol(HandlerHelper handlerHelper, ResourceTypeHelper resourceTypeHelper, WebDavResponseHandler responseHandler, List<PropertySource> propertySources, QuotaDataAccessor quotaDataAccessor, PropPatchSetter patchSetter, PropertyAuthoriser propertyAuthoriser, ETagGenerator eTagGenerator, UrlAdapter urlAdapter, ResourceHandlerHelper resourceHandlerHelper, UserAgentHelper userAgentHelper, PropFindRequestFieldParser requestFieldParser, PropFindPropertyBuilder propertyBuilder, DisplayNameFormatter displayNameFormatter, boolean enableTextContentProperty) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidclearProperty(QName name, Resource r) Generates the displayname element text.getProperty(QName name, Resource r) getPropertyMetaData(QName name, Resource r) protected voidsendStringProp(XmlWriter writer, String name, String value) voidsetCustomPostHandlers(List<CustomPostHandler> customPostHandlers) voidsetProperty(QName name, Object value, Resource r)
-
Field Details
-
DAV_URI
- See Also:
-
DAV_PREFIX
- See Also:
-
NS_DAV
-
-
Constructor Details
-
WebDavProtocol
public WebDavProtocol(HandlerHelper handlerHelper, ResourceTypeHelper resourceTypeHelper, WebDavResponseHandler responseHandler, List<PropertySource> propertySources, QuotaDataAccessor quotaDataAccessor, PropPatchSetter patchSetter, PropertyAuthoriser propertyAuthoriser, ETagGenerator eTagGenerator, UrlAdapter urlAdapter, ResourceHandlerHelper resourceHandlerHelper, UserAgentHelper userAgentHelper, PropFindRequestFieldParser requestFieldParser, PropFindPropertyBuilder propertyBuilder, DisplayNameFormatter displayNameFormatter, boolean enableTextContentProperty)
-
-
Method Details
-
getCustomPostHandlers
- Specified by:
getCustomPostHandlersin interfaceHttpExtension
-
setCustomPostHandlers
-
getPropertySources
-
addPropertySource
-
addReport
-
getHandlers
- Specified by:
getHandlersin interfaceHttpExtension- Returns:
- - all method handlers that this extension supports.
-
getProperty
- Specified by:
getPropertyin interfacePropertySource
-
setProperty
- Specified by:
setPropertyin interfacePropertySource
-
getPropertyMetaData
- Specified by:
getPropertyMetaDatain interfacePropertySource
-
clearProperty
- Specified by:
clearPropertyin interfacePropertySource
-
getAllPropertyNames
- Specified by:
getAllPropertyNamesin interfacePropertySource
-
getDisplayNameFormatter
Generates the displayname element text. By default is a CdataDisplayNameFormatter wrapping a DefaultDisplayNameFormatter so that extended character sets are supported- Returns:
-
sendStringProp
-
getHandlerHelper
-
getQuotaDataAccessor
-
getReports
-
getResourceTypeHelper
-
geteTagGenerator
-
getPropertyMap
-
getMkColHandler
-
getPropPatchHandler
-