Share via


HttpBatchHandler Class

 

Defines the abstraction for handling HTTP batch requests.

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 abstract class HttpBatchHandler : HttpMessageHandler
public ref class HttpBatchHandler abstract : HttpMessageHandler
[<AbstractClass>]
type HttpBatchHandler = 
    class
        inherit HttpMessageHandler
    end
Public MustInherit Class HttpBatchHandler
    Inherits HttpMessageHandler

Constructors

Name Description
System_CAPS_protmethod HttpBatchHandler(HttpServer)

Initializes a new instance of the HttpBatchHandler class.

Properties

Name Description
System_CAPS_pubproperty Invoker

Gets the invoker to send the batch requests to the HttpServer.

Methods

Name Description
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_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 ProcessBatchAsync(HttpRequestMessage, CancellationToken)

Processes the incoming batch request as a single HttpRequestMessage.

System_CAPS_protmethod SendAsync(HttpRequestMessage, CancellationToken)

Sends the batch handler asynchronously.(Overrides HttpMessageHandler.SendAsync(HttpRequestMessage, CancellationToken).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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