kvision
Toggle table of contents
8.2.0
js
Platform filter
js
Switch theme
Search in API
kvision
kvision-routing-ballast
/
io.kvision.routing
/
KVRoute
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
)
Members
Constructors
KVRoute
Link copied to clipboard
constructor
(
routeFormat
:
String
,
handler
:
(
Any
)
->
Unit
?
=
null
,
annotations
:
Set
<
RouteAnnotation
>
=
emptySet()
,
matcher
:
RouteMatcher
=
RouteMatcher.create(routeFormat)
)
Properties
annotations
Link copied to clipboard
open
override
val
annotations
:
Set
<
RouteAnnotation
>
handler
Link copied to clipboard
val
handler
:
(
Any
)
->
Unit
?
=
null
matcher
Link copied to clipboard
open
override
val
matcher
:
RouteMatcher
route
Format
Link copied to clipboard
val
routeFormat
:
String