Show / Hide Table of Contents

Class WebDavControllerBase

The default WebDAV controller

Inheritance
Object
Microsoft.AspNetCore.Mvc.ControllerBase
WebDavControllerBase
Inherited Members
Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(System.Int32)
Microsoft.AspNetCore.Mvc.ControllerBase.StatusCode(System.Int32, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, System.String, System.Text.Encoding)
Microsoft.AspNetCore.Mvc.ControllerBase.Content(System.String, Microsoft.Net.Http.Headers.MediaTypeHeaderValue)
Microsoft.AspNetCore.Mvc.ControllerBase.NoContent()
Microsoft.AspNetCore.Mvc.ControllerBase.Ok()
Microsoft.AspNetCore.Mvc.ControllerBase.Ok(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Redirect(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectPermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirect(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.LocalRedirectPermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToAction(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToActionPermanent(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoute(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.RedirectToRoutePermanent(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.Byte[], System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.IO.Stream, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.File(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.PhysicalFile(System.String, System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.Unauthorized()
Microsoft.AspNetCore.Mvc.ControllerBase.NotFound()
Microsoft.AspNetCore.Mvc.ControllerBase.NotFound(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest()
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.BadRequest(Microsoft.AspNetCore.Mvc.ModelBinding.ModelStateDictionary)
Microsoft.AspNetCore.Mvc.ControllerBase.Created(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Created(System.Uri, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtAction(System.String, System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.CreatedAtRoute(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted()
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Accepted(System.Uri, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtAction(System.String, System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.AcceptedAtRoute(System.String, System.Object, System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge()
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.Challenge(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid()
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties)
Microsoft.AspNetCore.Mvc.ControllerBase.Forbid(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.SignIn(System.Security.Claims.ClaimsPrincipal, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.SignOut(Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties, System.String[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Linq.Expressions.Expression<System.Func<TModel, System.Object>>[])
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync<TModel>(TModel, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(System.Object, System.Type, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.TryUpdateModelAsync(System.Object, System.Type, System.String, Microsoft.AspNetCore.Mvc.ModelBinding.IValueProvider, System.Func<Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata, System.Boolean>)
Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(System.Object)
Microsoft.AspNetCore.Mvc.ControllerBase.TryValidateModel(System.Object, System.String)
Microsoft.AspNetCore.Mvc.ControllerBase.HttpContext
Microsoft.AspNetCore.Mvc.ControllerBase.Request
Microsoft.AspNetCore.Mvc.ControllerBase.Response
Microsoft.AspNetCore.Mvc.ControllerBase.RouteData
Microsoft.AspNetCore.Mvc.ControllerBase.ModelState
Microsoft.AspNetCore.Mvc.ControllerBase.ControllerContext
Microsoft.AspNetCore.Mvc.ControllerBase.MetadataProvider
Microsoft.AspNetCore.Mvc.ControllerBase.ModelBinderFactory
Microsoft.AspNetCore.Mvc.ControllerBase.Url
Microsoft.AspNetCore.Mvc.ControllerBase.ObjectValidator
Microsoft.AspNetCore.Mvc.ControllerBase.User
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace:FubarDev.WebDavServer.AspNetCore
Assembly:FubarDev.WebDavServer.AspNetCore.dll
Syntax
public class WebDavControllerBase : ControllerBase

Constructors

| Improve this Doc View Source

WebDavControllerBase(IWebDavContext, IWebDavDispatcher, ILogger<WebDavIndirectResult>)

Initializes a new instance of the WebDavControllerBase class.

Declaration
public WebDavControllerBase(IWebDavContext context, IWebDavDispatcher dispatcher, ILogger<WebDavIndirectResult> responseLogger = null)
Parameters
Type Name Description
IWebDavContext context

The WebDAV request context

IWebDavDispatcher dispatcher

The WebDAV HTTP method dispatcher

Microsoft.Extensions.Logging.ILogger<WebDavIndirectResult> responseLogger

The logger for the WebDavIndirectResult

Methods

| Improve this Doc View Source

CopyAsync(String, String, CancellationToken)

Handler for the COPY method

Declaration
[HttpCopy]
public Task<IActionResult> CopyAsync(string path, [FromHeader(Name = "Destination")] string destination, CancellationToken cancellationToken = null)
Parameters
Type Name Description
String path

The root-relative path to the source of this method

String destination

The destination of the COPY operation

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

DeleteAsync(String, CancellationToken)

Handler for the DELETE method

Declaration
[HttpDelete]
public Task<IActionResult> DeleteAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

GetAsync(String, CancellationToken)

Handler for the GET method

Declaration
[HttpGet]
public Task<IActionResult> GetAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The root-relative path to the source of this method

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

HeadAsync(String, CancellationToken)

Handler for the HEAD method

Declaration
[HttpHead]
public Task<IActionResult> HeadAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

LockAsync(String, lockinfo, CancellationToken)

Handler for the LOCK method

Declaration
[HttpLock]
public Task<IActionResult> LockAsync(string path, [FromBody] lockinfo lockinfo, CancellationToken cancellationToken = null)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

lockinfo lockinfo

The information about the requested lock

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

MkColAsync(String, CancellationToken)

Handler for the MKCOL method

Declaration
[HttpMkCol]
public Task<IActionResult> MkColAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

MoveAsync(String, String, CancellationToken)

Handler for the MOVE method

Declaration
[HttpMove]
public Task<IActionResult> MoveAsync(string path, [FromHeader(Name = "Destination")] string destination, CancellationToken cancellationToken = null)
Parameters
Type Name Description
String path

The root-relative path to the source of this method

String destination

The destination of the MOVE operation

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

PropFindAsync(String, propfind, CancellationToken)

Handler for the PROPFIND method

Declaration
[HttpPropFind]
public Task<IActionResult> PropFindAsync(string path, [FromBody] propfind request, CancellationToken cancellationToken = null)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

propfind request

The propfind request element (may be null)

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

PropPatchAsync(String, propertyupdate, CancellationToken)

Handler for the PROPPATCH method

Declaration
[HttpPropPatch]
public Task<IActionResult> PropPatchAsync(string path, [FromBody] propertyupdate request, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

propertyupdate request

The propertyupdate request element

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

PutAsync(String, CancellationToken)

Handler for the PUT method

Declaration
[HttpPut]
public Task<IActionResult> PutAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

QueryOptionsAsync(String, CancellationToken)

Handler for the QUERY method

Declaration
[HttpOptions]
public Task<IActionResult> QueryOptionsAsync(string path, CancellationToken cancellationToken)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

| Improve this Doc View Source

UnlockAsync(String, String, CancellationToken)

Handler for the UNLOCK method

Declaration
[HttpUnlock]
public Task<IActionResult> UnlockAsync(string path, [FromHeader(Name = "Lock-Token")] string lockToken, CancellationToken cancellationToken = null)
Parameters
Type Name Description
String path

The root-relative path to the target of this method

String lockToken

The token of the lock to remove

CancellationToken cancellationToken

The cancellation token

Returns
Type Description
Task<Microsoft.AspNetCore.Mvc.IActionResult>

The action result

  • Improve this Doc
  • View Source
Back to top Copyright © 2016-2017 Fubar Development Junker
Generated by DocFX