RouteMapRegistry

interface RouteMapRegistry<T>

Stores a mapping from an HTTP-method+path to a handler

Functions

Link copied to clipboard
abstract fun addRoute(    method: <ERROR CLASS>,     path: String,     handler: T)
Link copied to clipboard
abstract fun asSequence(): <ERROR CLASS><RouteMapEntry<T>>
abstract fun asSequence(method: <ERROR CLASS>): <ERROR CLASS><RouteMapEntry<T>>
Link copied to clipboard
abstract fun findHandler(method: <ERROR CLASS>, path: String): T?