data class HttpMethodRouteSelector : RouteSelector
Evaluates a route against an HttpMethod
method
- is an instance of HttpMethod
HttpMethodRouteSelector(method: HttpMethod)
Evaluates a route against an HttpMethod |
val method: HttpMethod
is an instance of HttpMethod |
val quality: Double
indicates how good this selector is compared to siblings |
fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation
Evaluates this selector against context and a path segment at segmentIndex |
|
fun toString(): String |