BaseRoutingBuilderImpl

An abstract base implementation of the BaseRoutingBuilder interface. Provides common functionality for routing builders.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var meta: Meta?

Functions

Link copied to clipboard
fun add(route: Route)
Link copied to clipboard
open override fun int(routingBuilder: IntRoutingBuilder.(IntRoutingContext) -> Unit)

Adds a route for a numeric path segment.

Link copied to clipboard
open override fun meta(meta: Meta.() -> Unit)

Adds metadata for the given route.

Link copied to clipboard
open override fun route(vararg path: String, routingBuilder: PlainRoutingBuilder.(RoutingContext) -> Unit)

Adds a route for the specified path.

Link copied to clipboard
open fun routes(): List<Route>?
Link copied to clipboard
open override fun string(routingBuilder: StringRoutingBuilder.(StringRoutingContext) -> Unit)

Adds a route for a string path segment.