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 handlerMethod handler for this route.
- httpMethod
const Str httpMethodHTTP method used for this route
- make
new make(Uri routeBase, Method handler, Str httpMethod := "GET")- routeBase
const Uri routeBaseThe URI this route matches. Always starts and ends with a slash.
- wotever
static new wotever()