HttpHeaderRouteSelector
data class HttpHeaderRouteSelector : RouteSelector
Evaluates a route against a header in the request
Parameters
name
- is a name of the header
value
- is a value of the header
Constructors
Evaluates a route against a header in the request |
Properties
val name: String is a name of the header |
|
val value: String is a value of the header |
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 |