HostRouteSelector
data class HostRouteSelector(val hostList: List<String>, val hostPatterns: List<Regex>, val portsList: List<Int>) : RouteSelector
Evaluates a route against a request's host and port.
Parameters
hostList
contains exact host names
hostPatterns
contains host patterns to match
portsList
contains possible ports or empty to match all ports
Constructors
Properties
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.