HttpRoute Class
Represents a route class for self-host (i.e. hosted outside of ASP.NET).
Assembly: System.Web.Http (in System.Web.Http.dll)
| Name | Description | |
|---|---|---|
![]() | HttpRoute() | Initializes a new instance of the HttpRoute class. |
![]() | HttpRoute(String^) | Initializes a new instance of the HttpRoute class. |
![]() | HttpRoute(String^, HttpRouteValueDictionary^) | Initializes a new instance of the HttpRoute class. |
![]() | HttpRoute(String^, HttpRouteValueDictionary^, HttpRouteValueDictionary^) | Initializes a new instance of the HttpRoute class. |
![]() | HttpRoute(String^, HttpRouteValueDictionary^, HttpRouteValueDictionary^, HttpRouteValueDictionary^) | Initializes a new instance of the HttpRoute class. |
![]() | HttpRoute(String^, HttpRouteValueDictionary^, HttpRouteValueDictionary^, HttpRouteValueDictionary^, HttpMessageHandler^) | Initializes a new instance of the HttpRoute class. |
| Name | Description | |
|---|---|---|
![]() | Constraints | Gets the constraints for the route parameters. |
![]() | DataTokens | Gets any additional data tokens not used directly to determine whether a route matches an incoming HttpRequestMessage. |
![]() | Defaults | Gets the default values for route parameters if not provided by the incoming HttpRequestMessage. |
![]() | Handler | Gets or sets the http route handler. |
![]() | RouteTemplate | Gets the route template describing the URI pattern to match against. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetRouteData(String^, HttpRequestMessage^) | Determines whether this route is a match for the incoming request by looking up the HttpRouteData for the route. |
![]() | GetType() | (Inherited from Object.) |
![]() | GetVirtualPath(HttpRequestMessage^, IDictionary<String^, Object^>^) | Attempts to generate a URI that represents the values passed in based on current values from the HttpRouteData and new values using the specified HttpRoute. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ProcessConstraint(HttpRequestMessage^, Object^, String^, HttpRouteValueDictionary^, HttpRouteDirection) | Determines whether this instance equals a specified route. |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | HttpRouteKey | Specifies the HTTP route key. |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.




