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
fun PathSegmentTailcardRouteSelector(name: String = "", prefix: String = "", hasTrailingSlash: Boolean)
Link copied to clipboard
fun PathSegmentTailcardRouteSelector(name: String = "", prefix: String = "")

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

Properties

Link copied to clipboard
Link copied to clipboard

before the tailcard (static text)

Link copied to clipboard