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.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class HttpRoutingDispatcher _
    Inherits HttpMessageHandler
'Usage
Dim instance As HttpRoutingDispatcher
public class HttpRoutingDispatcher : HttpMessageHandler
public ref class HttpRoutingDispatcher : public HttpMessageHandler
type HttpRoutingDispatcher =  
    class 
        inherit HttpMessageHandler 
    end
public class HttpRoutingDispatcher extends HttpMessageHandler

The HttpRoutingDispatcher type exposes the following members.

Constructors

  Name Description
Public method HttpRoutingDispatcher(HttpConfiguration) Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpControllerDispatcher as the default handler.
Public method HttpRoutingDispatcher(HttpConfiguration, HttpMessageHandler) Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpMessageHandler.

Top

Methods

  Name Description
Public method Dispose (Inherited from HttpMessageHandler.)
Protected method Dispose(Boolean) (Inherited from HttpMessageHandler.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SendAsync Sends an HTTP request as an asynchronous operation. (Overrides HttpMessageHandlerSendAsync(HttpRequestMessage, CancellationToken).)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Web.Http.Dispatcher Namespace