Share via


DefaultODataBatchHandler Class

Definition

Default implementation of ODataBatchHandler for handling OData batch request.

public class DefaultODataBatchHandler : Microsoft.AspNet.OData.Batch.ODataBatchHandler
type DefaultODataBatchHandler = class
    inherit ODataBatchHandler
Public Class DefaultODataBatchHandler
Inherits ODataBatchHandler
Inheritance
System.Web.Http.Batch.HttpBatchHandler
DefaultODataBatchHandler
Inheritance
DefaultODataBatchHandler

Remarks

By default, it buffers the request content stream.

Constructors

DefaultODataBatchHandler()
DefaultODataBatchHandler(HttpServer)

Initializes a new instance of the DefaultODataBatchHandler class.

Properties

MessageQuotas

Gets the ODataMessageQuotas used for reading/writing the batch request/response.

(Inherited from ODataBatchHandler)
ODataRoute

Gets or sets the OData route associated with this batch handler.

(Inherited from ODataBatchHandler)
ODataRouteName

Gets or sets the name of the OData route associated with this batch handler.

(Inherited from ODataBatchHandler)

Methods

CreateResponseMessageAsync(IEnumerable<ODataBatchResponseItem>, HttpRequest)

Creates the batch response message.

(Inherited from ODataBatchHandler)
CreateResponseMessageAsync(IEnumerable<ODataBatchResponseItem>, HttpRequestMessage, CancellationToken)

Creates the batch response message.

(Inherited from ODataBatchHandler)
ExecuteRequestMessagesAsync(IEnumerable<ODataBatchRequestItem>, CancellationToken)

Executes the OData batch requests.

ExecuteRequestMessagesAsync(IEnumerable<ODataBatchRequestItem>, RequestDelegate)

Executes the OData batch requests.

GetBaseUri(HttpRequest)

Gets the base URI for the batched requests.

(Inherited from ODataBatchHandler)
GetBaseUri(HttpRequestMessage)

Gets the base URI for the batched requests.

(Inherited from ODataBatchHandler)
ParseBatchRequestsAsync(HttpContext)

Converts the incoming OData batch request into a collection of request messages.

ParseBatchRequestsAsync(HttpRequestMessage, CancellationToken)

Converts the incoming OData batch request into a collection of request messages.

ProcessBatchAsync(HttpContext, RequestDelegate)

Abstract method for processing a batch request.

ProcessBatchAsync(HttpRequestMessage, CancellationToken) System.Web.Http.Batch.HttpBatchHandler.ProcessBatchAsync(System.Net.Http.HttpRequestMessage,System.Threading.CancellationToken)
ValidateRequest(HttpRequest)

Validates the incoming request that contains the batch request messages.

(Inherited from ODataBatchHandler)
ValidateRequest(HttpRequestMessage)

Validates the incoming request that contains the batch request messages.

(Inherited from ODataBatchHandler)

Applies to