const classafBedSheet::Route
sys::Obj afBedSheet::Route
Route maps a URI to a method handler. All uri's are treated as case-insensitive.
All handler classes are autobuilt. If the class is const
, the instance is cached for future use.
Nicked and adapted form draft
- handler
const Method handler
Method handler for this route.
- httpMethod
const Str httpMethod
HTTP method used for this route
- make
new make(Uri routeBase, Method handler, Str httpMethod := "GET")
- routeBase
const Uri routeBase
The URI this route matches. Always starts and ends with a slash.
- wotever
static new wotever()