data class PathSegmentConstantRouteSelector : RouteSelector
Evaluates a route against a constant path segment
value
- is a value of the path segment
PathSegmentConstantRouteSelector(value: String, hasTrailingSlash: Boolean) PathSegmentConstantRouteSelector(value: String)
Evaluates a route against a constant path segment |
val value: String
is a value of the path segment |
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 |