data class HttpHeaderRouteSelector : RouteSelector
Evaluates a route against a header in the request
name
- is a name of the header
value
- is a value of the header
HttpHeaderRouteSelector(name: String, value: String)
Evaluates a route against a header in the request |
val name: String
is a name of the header |
|
val value: String
is a value of the header |
val quality: Double
indicates how good this selector is compared to siblings |
fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation
Evaluates this selector against context and a path segment at segmentIndex |
|
fun toString(): String |