AndRouteSelector
data class AndRouteSelector(val first: RouteSelector, val second: RouteSelector) : RouteSelector, CompositeRouteSelector(source)
Evaluates a route as a result of the AND operation using two other selectors.
Parameters
first
is a first selector
second
is a second selector
Functions
Link copied to clipboard
open suspend override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation
Evaluates this selector against context and a path segment at segmentIndex.
Link copied to clipboard
Provides a list of child route selectors that compose this composite route selector. This is useful for accessing individual components of a composite route, such as in cases of logical "and" or "or" operations.