The Life Cycle of a Request

1. Apache invokes the request() method of the Pas request handler. 2. The request handler checks the Page registry to see if a Page object has been designated to handle the URI. 3. If no page object is registered for the URI, the request handler checks to see if the URI points to a PSP page. 4. If the URI did not point to either a Page object or a PSP page, the request handler returns DECLINED to Apache. This causes Apache to handle the request as it normaly would.

If the URI pointed to a PSP page, the request handler computes the package name of the Page object the PSP compiles to. It then checks wether the compiled page object is up to date with respect to the PSP page it was generated from, including dependency checking for included PSP files.