Table of Contents Previous Section
Request Post-Processing
After the response has been generated, but before returning the response to the adaptor, the component action request handler concludes request handling by doing the following:
- It causes the sleep method-the counterpart of awake-to be invoked in all components involved the cycle (request, response, and subcomponents). As described in the chapter "Managing State", in the sleep method objects can release resources that don't have to be saved between cycles.
- It requests the session object to save the response page in the page cache.
- It invokes the session object's sleep method.
- It saves the session object in the session store.
- It invokes its own sleep method.
Table of Contents Next Section