data class ConstantParameterRouteSelector : RouteSelector
Evaluates a route against a constant query parameter value
name
- is a name of the query parameter
value
- is a value of the query parameter
ConstantParameterRouteSelector(name: String, value: String)
Evaluates a route against a constant query parameter value |
val name: String
is a name of the query parameter |
|
val value: String
is a value of the query parameter |
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 |