Share via


PhysicalFileResultExecutor Class

Definition

public ref class PhysicalFileResultExecutor : Microsoft::AspNetCore::Mvc::Infrastructure::FileResultExecutorBase, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::PhysicalFileResult ^>
public class PhysicalFileResultExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.FileResultExecutorBase, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.PhysicalFileResult>
type PhysicalFileResultExecutor = class
    inherit FileResultExecutorBase
    interface IActionResultExecutor<PhysicalFileResult>
Public Class PhysicalFileResultExecutor
Inherits FileResultExecutorBase
Implements IActionResultExecutor(Of PhysicalFileResult)
Inheritance
PhysicalFileResultExecutor
Implements

Constructors

Name Description
PhysicalFileResultExecutor(ILoggerFactory)

Initializes a new instance of PhysicalFileResultExecutor.

Fields

Name Description
BufferSize

The buffer size: 64 * 1024.

(Inherited from FileResultExecutorBase)

Properties

Name Description
Logger

The logger to use.

(Inherited from FileResultExecutorBase)

Methods

Name Description
ExecuteAsync(ActionContext, PhysicalFileResult)

Asynchronously executes the action result, by modifying the HttpResponse.

GetFileInfo(String)

Get the file metadata for a path.

GetFileStream(String)
Obsolete.

Obsolete. This API is no longer called.

SetHeadersAndLog(ActionContext, FileResult, Nullable<Int64>, Boolean, Nullable<DateTimeOffset>, EntityTagHeaderValue)

Sets etag and last modified headers.

(Inherited from FileResultExecutorBase)
WriteFileAsync(ActionContext, PhysicalFileResult, RangeItemHeaderValue, Int64)

Applies to