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 | |
---|---|---|
HttpRoutingDispatcher(HttpConfiguration) | Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpControllerDispatcher as the default handler. |
|
HttpRoutingDispatcher(HttpConfiguration, HttpMessageHandler) | Initializes a new instance of the HttpRoutingDispatcher class, using the provided HttpConfiguration and HttpMessageHandler. |
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from HttpMessageHandler.) |
|
Dispose(Boolean) | (Inherited from HttpMessageHandler.) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
SendAsync(HttpRequestMessage, CancellationToken) | Sends an HTTP request as an asynchronous operation.(Overrides HttpMessageHandler.SendAsync(HttpRequestMessage, CancellationToken).) |
|
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