const class webmod::RouteMod

sys::Obj
  web::WebMod
    webmod::RouteMod

Source

RouteMod routes a level of the URI path to sub-WebMods.

See pod doc

make

new make(|This|? f)

Source

Constructor with it-block.

onService

virtual override Void onService()

Source

onStart

virtual override Void onStart()

Source

Call onStart on sub-mods.

onStop

virtual override Void onStop()

Source

Call onStop on sub-mods.

routes

const Str:WebMod routes := [Str:WebMod][:]

Source

Map of URI path names to sub-WebMods. The name "index" is used for requests to the RouteMod itself.