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 | |
---|---|---|
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. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | (Inherited from HttpMessageHandler.) | |
Dispose(Boolean) | (Inherited from HttpMessageHandler.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
SendAsync | Sends an HTTP request as an asynchronous operation. (Overrides HttpMessageHandlerSendAsync(HttpRequestMessage, CancellationToken).) | |
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.