Route

interface Route

Common Route representation

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Match(val route: Route, val routeParams: Map<String, String>, val queryParams: Map<String, String>)

Represents a route match

Link copied to clipboard
interface Renderable

Properties

Link copied to clipboard
abstract val pattern: String

The pattern of the route

Functions

Link copied to clipboard
abstract fun match(uri: String): Route.Match?

Matches the given uri against the pattern of the route.