data class OptionalParameterRouteSelector : RouteSelector
Evaluates a route against an optional query parameter value and captures its value, if found
name
- is a name of the query parameter
OptionalParameterRouteSelector(name: String)
Evaluates a route against an optional query parameter value and captures its value, if found |
val name: String
is a name 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 |