Top

Integrating Your Code Into the Request-Response Loop

On each cycle of the request-response loop, an application initiates a series of messages to objects that are participating in request handling. These messages are "hooks" that allow you to integrate your code into the request-response loop and affect the outcome of request handling. This chapter describes the methods invoked by these messages.

Table of Contents

Introduction
Initialization Methods
When init and awake are Sent
The Structures of init and awake
The sleep and dealloc Methods
When Use init, When Use awake?
Application Initialization
Session Initialization
Component Initialization
Action Methods
Request-Handling Methods
takeValuesFromRequest:inContext:
invokeActionForRequest:inContext:
appendToResponse:inContext:
Summary


Related Topics

How WebObjects Works
Using WebScript
Managing State

First Section