PathSegmentTailcardRouteSelector

data class PathSegmentTailcardRouteSelector(val name: String = "", val prefix: String = "") : 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

Link copied to clipboard
constructor(name: String = "", prefix: String = "")

Properties

Link copied to clipboard
Link copied to clipboard

before the tailcard (static text)

Functions

Link copied to clipboard
open override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex.

Link copied to clipboard
open override fun toString(): String