PathSegmentTailcardRouteSelector

data class PathSegmentTailcardRouteSelector : RouteSelector

Evaluates a route against any number of trailing path segments, and captures their values

Parameters

name - is the name of the parameter to capture values to

Constructors

<init>

PathSegmentTailcardRouteSelector(
    name: String = "",
    prefix: String = "")

Evaluates a route against any number of trailing path segments, and captures their values

Properties

name

val name: String

is the name of the parameter to capture values to

prefix

val prefix: String

before the tailcard (static text)

Inherited Properties

quality

val quality: Double

indicates how good this selector is compared to siblings

Functions

evaluate

fun evaluate(
    context: RoutingResolveContext,
    segmentIndex: Int
): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex

toString

fun toString(): String