Interface IWebDavClass
Base interface for all WebDAV class implementations.
Namespace:FubarDev.WebDavServer.Dispatchers
Assembly:FubarDev.WebDavServer.dll
Syntax
public interface IWebDavClass
Properties
| Improve this Doc View SourceDefaultResponseHeaders
Gets the headers to be sent for any response
Declaration
[NotNull]
IReadOnlyDictionary<string, IEnumerable<string>> DefaultResponseHeaders { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<String, IEnumerable<String>> |
HttpMethods
Gets the HTTP methods supported by this WebDAV class.
Declaration
[NotNull]
[ItemNotNull]
IEnumerable<string> HttpMethods { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
OptionsResponseHeaders
Gets the headers to be sent for a response of an OPTIONS
request
Declaration
[NotNull]
IReadOnlyDictionary<string, IEnumerable<string>> OptionsResponseHeaders { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<String, IEnumerable<String>> |
WebDavContext
Gets the context for a request
Declaration
[NotNull]
IWebDavContext WebDavContext { get; }
Property Value
Type | Description |
---|---|
IWebDavContext |
Methods
| Improve this Doc View SourceGetProperties(IEntry)
Gets the properties for an entry that are supported by this WebDAV class
Declaration
[NotNull]
[ItemNotNull]
IEnumerable<IUntypedReadableProperty> GetProperties([NotNull] IEntry entry)
Parameters
Type | Name | Description |
---|---|---|
IEntry | entry | The entry to create the properties for |
Returns
Type | Description |
---|---|
IEnumerable<IUntypedReadableProperty> | The properties that are to be used for the given entry |
TryCreateDeadProperty(IPropertyStore, IEntry, XName, out IDeadProperty)
Tries to create a well known dead property required/used by this WebDAV class implementation
Declaration
bool TryCreateDeadProperty([NotNull] IPropertyStore store, [NotNull] IEntry entry, [NotNull] XName name, out IDeadProperty deadProperty)
Parameters
Type | Name | Description |
---|---|---|
IPropertyStore | store | The property store to store this property |
IEntry | entry | The entry to instantiate this property for |
XName | name | The name of the dead property to create |
IDeadProperty | deadProperty | The created dead property if this function returned true. |
Returns
Type | Description |
---|---|
Boolean | true when this function could handle the creation of the well known dead property with the given name |