PathSegmentConstantRouteSelector

data class PathSegmentConstantRouteSelector(value: String) : RouteSelector

Evaluates a route against a constant path segment.

Parameters

value

is a value of the path segment

Constructors

Link copied to clipboard
fun PathSegmentConstantRouteSelector(value: String, hasTrailingSlash: Boolean)
Link copied to clipboard
fun PathSegmentConstantRouteSelector(value: 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
val quality: Double
Link copied to clipboard
val value: String