Show / Hide Table of Contents

Class GetHeadHandler

The implementation of the IGetHandler and IHeadHandler interfaces

Inheritance
Object
GetHeadHandler
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.Handlers.Impl
Assembly:FubarDev.WebDavServer.dll
Syntax
public class GetHeadHandler : IGetHandler, IHeadHandler, IClass1Handler, IHandler

Constructors

| Improve this Doc View Source

GetHeadHandler(IFileSystem, IWebDavContext)

Initializes a new instance of the GetHeadHandler class.

Declaration
public GetHeadHandler([NotNull] IFileSystem fileSystem, [NotNull] IWebDavContext context)
Parameters
Type Name Description
IFileSystem fileSystem

The root file system

IWebDavContext context

The WebDAV context

Properties

| Improve this Doc View Source

FileSystem

Gets the root file system

Declaration
[NotNull]
public IFileSystem FileSystem { get; }
Property Value
Type Description
IFileSystem
| Improve this Doc View Source

HttpMethods

Gets the HTTP methods that are processed by this handler

Declaration
public IEnumerable<string> HttpMethods { get; }
Property Value
Type Description
IEnumerable<String>
Implements
IHandler.HttpMethods

Methods

| Improve this Doc View Source

GetAsync(String, CancellationToken)

Gets the element at the given path

Declaration
public Task<IWebDavResult> GetAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The path to the element to get

CancellationToken cancellationToken

The cancellcation token

Returns
Type Description
Task<IWebDavResult>

The result of the operation

Implements
IGetHandler.GetAsync(String, CancellationToken)
| Improve this Doc View Source

HeadAsync(String, CancellationToken)

Gets the information about an element at the given path

Declaration
public Task<IWebDavResult> HeadAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The path to the element to get the information for

CancellationToken cancellationToken

The cancellcation token

Returns
Type Description
Task<IWebDavResult>

The result of the operation

Implements
IHeadHandler.HeadAsync(String, CancellationToken)
  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX