HttpAcceptRouteSelector
data class HttpAcceptRouteSelector : RouteSelector
Evaluates a route against a content-type in the HttpHeaders.Accept header in the request
Parameters
contentType
- is an instance of ContentType
Constructors
HttpAcceptRouteSelector(contentType: ContentType) Evaluates a route against a content-type in the HttpHeaders.Accept header in the request |
Properties
val contentType: ContentType is an instance of ContentType |
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 |