Ktor
3.6.x
Select version
3.6.x3.5.x3.4.x3.3.x3.2.x3.1.x3.0.x2.3.x2.2.x2.0.x1.6.x
      Target filter
Search in API
Skip to content
    Ktor
ktor-server-core/io.ktor.server.routing/RouteSelector

RouteSelector

abstract class RouteSelector(source)

Serves as the base type for routing selectors.

Report a problem

Inheritors

HostRouteSelector
LocalPortRouteSelector
PathSegmentRegexRouteSelector
TransparentRouteSelector
RootRouteSelector
ConstantParameterRouteSelector
ParameterRouteSelector
OptionalParameterRouteSelector
PathSegmentConstantRouteSelector
TrailingSlashRouteSelector
PathSegmentParameterRouteSelector
PathSegmentOptionalParameterRouteSelector
PathSegmentWildcardRouteSelector
PathSegmentTailcardRouteSelector
OrRouteSelector
AndRouteSelector
HttpMethodRouteSelector
HttpHeaderRouteSelector
HttpAcceptRouteSelector
HttpMultiAcceptRouteSelector

Constructors

RouteSelector
Link copied to clipboard
constructor()

Functions

evaluate
Link copied to clipboard
abstract suspend fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex.

Generated by Dokka
© 2026 JetBrains s.r.o and contributors. Apache License 2.0