data class PathSegmentTailcardRouteSelector : RouteSelector
Evaluates a route against any number of trailing path segments, and captures their values
name
- is the name of the parameter to capture values to
PathSegmentTailcardRouteSelector(name: String = "", prefix: String = "", hasTrailingSlash: Boolean) PathSegmentTailcardRouteSelector(name: String = "", prefix: String = "")
Evaluates a route against any number of trailing path segments, and captures their values |
val name: String
is the name of the parameter to capture values to |
|
val prefix: String
before the tailcard (static text) |
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 |