abstract const classdraft::DraftMod
sys::Obj web::WebMod draft::DraftMod
DraftMod
- flash
- Flash flash()- Get flash instance for this request. 
- logDir
- const File? logDir := null- Directory to write log files to. If left null, no logging will be performed. 
- logFields
- const Str logFields := ...- Format of the web log records as a string of names. See webmod 
- make
- new make()- Constructor. 
- onAfterService
- virtual Void onAfterService(Str:Str args)- Invoked after serviceing the current request. 
- onBeforeService
- virtual Void onBeforeService(Str:Str args)- Invoked prior to serviceing the current request. 
- onErr
- virtual Void onErr(DraftErr err)- Handle an error condition during a request. 
- onService
- virtual override Void onService()- Service incoming request. 
- onStart
- virtual override Void onStart()- Handle startup tasks. 
- pubDir
- const File? pubDir := null- Directory to publish as public files under - /pub/URI:- pubDir := `/foo/bar/` /foo/bar/index.css => `/pub/index.css` /foo/bar/img/logo.png => `/pub/img/logo.png` - The pubDir may also be defined as a config property in - etc/draft/config.props
- router
- const Router router- Router model.