ODataBatchHandler Class
Defines the abstraction for handling OData batch requests.
Namespace: System.Web.OData.Batch
Assembly: System.Web.OData (in System.Web.OData.dll)
Inheritance Hierarchy
System.Object
System.Net.Http.HttpMessageHandler
System.Web.Http.Batch.HttpBatchHandler
System.Web.OData.Batch.ODataBatchHandler
System.Web.OData.Batch.DefaultODataBatchHandler
System.Web.OData.Batch.UnbufferedODataBatchHandler
Syntax
public abstract class ODataBatchHandler : HttpBatchHandler
public ref class ODataBatchHandler abstract : HttpBatchHandler
[<AbstractClass>]
type ODataBatchHandler =
class
inherit HttpBatchHandler
end
Public MustInherit Class ODataBatchHandler
Inherits HttpBatchHandler
Constructors
Name | Description | |
---|---|---|
ODataBatchHandler(HttpServer) | Initializes a new instance of the ODataBatchHandler class. |
Properties
Name | Description | |
---|---|---|
Invoker | Gets the invoker to send the batch requests to the HttpServer.(Inherited from HttpBatchHandler.) |
|
MessageQuotas | Gets the ODataMessageQuotas used for reading/writing the batch request/response. |
|
ODataRouteName | Gets or sets the name of the OData route associated with this batch handler. |
Methods
Name | Description | |
---|---|---|
CreateResponseMessageAsync(IEnumerable<ODataBatchResponseItem>, HttpRequestMessage, CancellationToken) | Creates the batch response message. |
|
Dispose() | (Inherited from HttpMessageHandler.) |
|
Dispose(Boolean) | (Inherited from HttpMessageHandler.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetBaseUri(HttpRequestMessage) | Gets the base URI for the batched requests. |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ProcessBatchAsync(HttpRequestMessage, CancellationToken) | Processes the incoming batch request as a single HttpRequestMessage.(Inherited from HttpBatchHandler.) |
|
SendAsync(HttpRequestMessage, CancellationToken) | Sends the batch handler asynchronously.(Inherited from HttpBatchHandler.) |
|
ToString() | (Inherited from Object.) |
|
ValidateRequest(HttpRequestMessage) | Validates the incoming request that contains the batch request messages. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.OData.Batch Namespace
Return to top