Share via


ODataBatchHandler Class

Definition

Defines the abstraction for handling OData batch requests.

public abstract class ODataBatchHandler : System.Web.Http.Batch.HttpBatchHandler
public abstract class ODataBatchHandler
type ODataBatchHandler = class
    inherit HttpBatchHandler
type ODataBatchHandler = class
Public MustInherit Class ODataBatchHandler
Inherits HttpBatchHandler
Public MustInherit Class ODataBatchHandler
Inheritance
System.Web.Http.Batch.HttpBatchHandler
ODataBatchHandler
Inheritance
ODataBatchHandler
Derived

Remarks

This class implements a BatchHandler semantics for AspNet, which uses an System.Web.Http.Batch.HttpBatchHandler for dispatching requests.

Constructors

ODataBatchHandler()
ODataBatchHandler(HttpServer)

Initializes a new instance of the ODataBatchHandler class.

Properties

MessageQuotas

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

ODataRoute

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

ODataRouteName

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

Methods

CreateResponseMessageAsync(IEnumerable<ODataBatchResponseItem>, HttpRequest)

Creates the batch response message.

CreateResponseMessageAsync(IEnumerable<ODataBatchResponseItem>, HttpRequestMessage, CancellationToken)

Creates the batch response message.

GetBaseUri(HttpRequest)

Gets the base URI for the batched requests.

GetBaseUri(HttpRequestMessage)

Gets the base URI for the batched requests.

ProcessBatchAsync(HttpContext, RequestDelegate)

Abstract method for processing a batch request.

ValidateRequest(HttpRequest)

Validates the incoming request that contains the batch request messages.

ValidateRequest(HttpRequestMessage)

Validates the incoming request that contains the batch request messages.

Applies to