HttpRoutingDispatcher Class

 

This class is the default endpoint message handler which examines the IHttpRoute of the matched route, and chooses which message handler to call. If Handler is null, then it delegates to HttpControllerDispatcher.

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

Inheritance Hierarchy

System.Object
  System.Net.Http.HttpMessageHandler
    System.Web.Http.Dispatcher.HttpRoutingDispatcher

Syntax

public class HttpRoutingDispatcher : HttpMessageHandler
public ref class HttpRoutingDispatcher : HttpMessageHandler
type HttpRoutingDispatcher = 
    class
        inherit HttpMessageHandler
    end
Public Class HttpRoutingDispatcher
    Inherits HttpMessageHandler

Constructors

Name Description
System_CAPS_pubmethod HttpRoutingDispatcher(HttpConfiguration)

Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpControllerDispatcher as the default handler.

System_CAPS_pubmethod HttpRoutingDispatcher(HttpConfiguration, HttpMessageHandler)

Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpMessageHandler.

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_protmethod SendAsync(HttpRequestMessage, CancellationToken)

Sends an HTTP request as an asynchronous operation.(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.Dispatcher Namespace

Return to top