Share via


DefaultHttpBatchHandler Class

 

Represents the default implementation of HttpBatchHandler that encodes the HTTP request/response messages as MIME multipart.

Namespace:   System.Web.Http.Batch
Assembly:  System.Web.Http (in System.Web.Http.dll)

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpMessageHandler
    System.Web.Http.Batch.HttpBatchHandler
      System.Web.Http.Batch.DefaultHttpBatchHandler

Syntax

public class DefaultHttpBatchHandler : HttpBatchHandler
public ref class DefaultHttpBatchHandler : HttpBatchHandler
type DefaultHttpBatchHandler = 
    class
        inherit HttpBatchHandler
    end
Public Class DefaultHttpBatchHandler
    Inherits HttpBatchHandler

Constructors

Name Description
System_CAPS_pubmethod DefaultHttpBatchHandler(HttpServer)

Initializes a new instance of the DefaultHttpBatchHandler class.

Properties

Name Description
System_CAPS_pubproperty ExecutionOrder

Gets or sets the execution order for the batch requests. The default execution order is sequential.

System_CAPS_pubproperty Invoker

Gets the invoker to send the batch requests to the HttpServer.(Inherited from HttpBatchHandler.)

System_CAPS_pubproperty SupportedContentTypes

Gets the supported content types for the batch request.

Methods

Name Description
System_CAPS_pubmethod CreateResponseMessageAsync(IList<HttpResponseMessage>, HttpRequestMessage, CancellationToken)

Creates the batch response message.

System_CAPS_pubmethod Dispose()

(Inherited from HttpMessageHandler.)

System_CAPS_protmethod Dispose(Boolean)

(Inherited from HttpMessageHandler.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod ExecuteRequestMessagesAsync(IEnumerable<HttpRequestMessage>, CancellationToken)

Executes the batch request messages.

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ParseBatchRequestsAsync(HttpRequestMessage, CancellationToken)

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

System_CAPS_pubmethod ProcessBatchAsync(HttpRequestMessage, CancellationToken)

Processes the batch requests.(Overrides HttpBatchHandler.ProcessBatchAsync(HttpRequestMessage, CancellationToken).)

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

Sends the batch handler asynchronously.(Inherited from HttpBatchHandler.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod 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.Http.Batch Namespace

Return to top