WebService defines the standard service interface for all Fan based web servers.
See docLib::Web
Slots
- logSource
-
static Log log := Log.get("web")
Standard log for web service
- onStartSource
-
override protected Void onStart()
Overrides sys::Service.onStart
Subclasses must call super if overridden.
- onStopSource
-
override protected Void onStop()
Overrides sys::Service.onStop
Subclasses must call super if overridden.
- pipelineSource
-
const WebStep[] pipeline := WebStep[,]
The pipeline field stores a series of WebSteps which are processed in sequence to service a web request.
See docLib::Web
- serviceSource
-
virtual Void service(WebReq req, WebRes res)
Service the specified web request with the configured pipeline. Any exceptions raised by a step, are propagated to the caller - internal errors should be handled by subclasses. If
WebRes.done
is called, then the pipeline is terminated. -
const internal WebSessionMgr sessionMgr := WebSessionMgr()
Session management thread