
WebService implements the standard pipeline for processing a web request.
Slots
-
static internal Log log
- make
-
new make(Str name)
Constructor with thread name.
- pipeline
-
virtual Void pipeline(WebReq req, WebRes res)
Run the standard pipeline of steps needed to process a web request. This call routes to a series of method calls which all begin with "step".
- stepCleanup
-
virtual Void stepCleanup(WebReq req, WebRes res)
The cleanup step is always run to cleanup thread local state.
- stepInit
-
virtual Bool stepInit(WebReq req, WebRes res)
The init step is responsible for initializing thread local state before any processing is started. Return if processing should continue.
- stepResource
-
virtual Bool stepResource(WebReq req, WebRes res)
Resolve the request Uri to a Resource in my namespace. Return if processing should continue.
- stepService
-
virtual Bool stepService(WebReq req, WebRes res)
Use the page and widget to service the request.
- stepWeblet
-
virtual Bool stepWeblet(WebReq req, WebRes res)
Resolve the weblet to use for servicing request on the resource. Return if processing should continue.