RouteMapRegistry

interface RouteMapRegistry<T>

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

Functions

addRoute
Link copied to clipboard
abstract fun addRoute(method: HttpMethod, path: String, handler: T)
asSequence
Link copied to clipboard
abstract fun asSequence(): Sequence<RouteMapEntry<T>>
abstract fun asSequence(method: HttpMethod): Sequence<RouteMapEntry<T>>
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
findHandler
Link copied to clipboard
abstract fun findHandler(method: HttpMethod, path: String): T?
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String