ParameterRouteSelector

data class ParameterRouteSelector : RouteSelector

Evaluates a route against a query parameter value and captures its value

Parameters

name - is a name of the query parameter

Constructors

<init>

ParameterRouteSelector(name: String)

Evaluates a route against a query parameter value and captures its value

Properties

name

val name: String

is a name of the query parameter

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