IHttpRoute Interface

 

IHttpRoute defines the interface for a route expressing how to map an incoming HttpRequestMessage to a particular controller and action.

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

public interface IHttpRoute

NameDescription
System_CAPS_pubpropertyConstraints

Gets the constraints for the route parameters.

System_CAPS_pubpropertyDataTokens

Gets any additional data tokens not used directly to determine whether a route matches an incoming HttpRequestMessage.

System_CAPS_pubpropertyDefaults

Gets the default values for route parameters if not provided by the incoming HttpRequestMessage.

System_CAPS_pubpropertyHandler

Gets the message handler that will be the recipient of the request.

System_CAPS_pubpropertyRouteTemplate

Gets the route template describing the URI pattern to match against.

NameDescription
System_CAPS_pubmethodGetRouteData(String, HttpRequestMessage)

Determine whether this route is a match for the incoming request by looking up the <see cref="!:IRouteData" /> for the route.

System_CAPS_pubmethodGetVirtualPath(HttpRequestMessage, IDictionary<String, Object>)

Gets a virtual path data based on the route and the values provided.

Return to top
Show: