Class Mongrel::HttpHandler
In: lib/mongrel/handlers.rb
Parent: Object

You implement your application handler with this. It’s very light giving just the minimum necessary for you to handle a request and shoot back a response. Look at the HttpRequest and HttpResponse objects for how to use them.

This is used for very simple handlers that don’t require much to operate. More extensive plugins or those you intend to distribute as GemPlugins should be implemented using the HttpHandlerPlugin mixin.

Methods

Attributes

listener  [RW] 
request_notify  [R] 

Public Instance methods

This will be called by Mongrel on the first (index 0) handler if it has HttpHandler.request_notify set to true. You only get the parameters for the request, with the idea that you’d "bound" the beginning of the request processing and the first call to process.

[Validate]