ConstantParameterRouteSelector

data class ConstantParameterRouteSelector : RouteSelector

Evaluates a route against a constant query parameter value

Parameters

name - is a name of the query parameter

value - is a value of the query parameter

Constructors

<init>

ConstantParameterRouteSelector(name: String, value: String)

Evaluates a route against a constant query parameter value

Properties

name

val name: String

is a name of the query parameter

value

val value: String

is a value 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