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