ConstantParameterRouteSelector
data class ConstantParameterRouteSelector(name: String, value: String) : RouteSelector
Content copied to clipboard
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
Functions
Link copied to clipboard
open override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation
Content copied to clipboard
Evaluates this selector against context and a path segment at segmentIndex.