KVRoute

data class KVRoute(val routeFormat: String, val handler: (Any) -> Unit? = null, val annotations: Set<RouteAnnotation> = emptySet(), val matcher: RouteMatcher = RouteMatcher.create(routeFormat)) : Route(source)

Constructors

Link copied to clipboard
constructor(routeFormat: String, handler: (Any) -> Unit? = null, annotations: Set<RouteAnnotation> = emptySet(), matcher: RouteMatcher = RouteMatcher.create(routeFormat))

Properties

Link copied to clipboard
open override val annotations: Set<RouteAnnotation>
Link copied to clipboard
val handler: (Any) -> Unit? = null
Link copied to clipboard
open override val matcher: RouteMatcher
Link copied to clipboard