const virtual class webmod::RouteMod
sys::Obj web::WebMod webmod::RouteMod
RouteMod routes a level of the URI path to sub-WebMods.
See pod doc
- make
-
Constructor with it-block.
- onService
-
virtual override Void onService()
- onStart
-
virtual override Void onStart()
Call
onStart
on sub-mods. - onStop
-
virtual override Void onStop()
Call
onStop
on sub-mods. - routes
-
const Map<Str,WebMod> routes := Map<Str,WebMod>[:]
Map of URI path names to sub-WebMods. The name "index" is used for requests to the RouteMod itself.