HttpMethodRouteSelector

data class HttpMethodRouteSelector(method: <ERROR CLASS>) : RouteSelector

Evaluates a route against an HttpMethod.

Parameters

method

is an instance of HttpMethod

Constructors

Link copied to clipboard
fun HttpMethodRouteSelector(method: <ERROR CLASS>)

Functions

Link copied to clipboard
open override fun evaluate(context: RoutingResolveContext, segmentIndex: Int): RouteSelectorEvaluation

Evaluates this selector against context and a path segment at segmentIndex.

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
val method: <ERROR CLASS>
Link copied to clipboard
val quality: Double