HostRouteSelector
data class HostRouteSelector : 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
Evaluates a route against a request’s host and port |
Properties
contains exact host names |
|
contains host patterns to match |
|
contains possible ports or empty to match all ports |
Inherited Properties
val quality: Double indicates how good this selector is compared to siblings |
Functions
fun evaluate( Evaluates this selector against context and a path segment at segmentIndex |
|
fun toString(): String |
Companion Object Properties
const val HostNameParameter: String Parameter name for RoutingApplicationCall.parameters for request host |
|
const val PortParameter: String Parameter name for RoutingApplicationCall.parameters for request port |