Module gotham::router::route [] [src]

Defines types that support individual application routes.

The Gotham Router having identified 1..n potential Route instances to service a request via route Tree traversal will attempt to identify a matching Route instance and dispatch to it when it does so.

Modules

dispatch

Defines Gotham's Dispatcher and supporting types.

matcher

Defines the type RouteMatcher and default implementations.

Structs

Extractors

Extractors used by RouteImpl to acquire request data and change into a type safe form for use by custom Middleware and Handler implementations.

RouteImpl

Default implementation for Route.

Enums

Delegation

Indicates how this Route behaves in relation to external Router instances.

Traits

Route

A type that determines if its associated logic can be exposed by the Router in response to an external request. If it determines that it can the Route runs extractors on the Request, potentially extending State before dispatching to the Dispatcher assigned to this Route.