Module: Mongrel::HttpHandlerPlugin

### Home Classes Methods

### In Files

- lib/mongrel/handlers.rb

### Methods

- ::new
- #process
- #request_begins
- #request_progress

### Files

- CHANGELOG
- COPYING
- LICENSE
- README
- Makefile

### Class/Module Index

Quicksearch

- Mongrel
- Mongrel::CGIWrapper
- Mongrel::Camping
- Mongrel::Camping::CampingHandler
- Mongrel::Command
- Mongrel::Command::Base
- Mongrel::Command::Registry
- Mongrel::Configurator
- Mongrel::Const
- Mongrel::DeflateFilter
- Mongrel::DirHandler
- Mongrel::Error404Handler
- Mongrel::Gems
- Mongrel::HeaderOut
- Mongrel::HttpHandler
- Mongrel::HttpHandlerPlugin
- Mongrel::HttpParams
- Mongrel::HttpParser
- Mongrel::HttpParserError
- Mongrel::HttpRequest
- Mongrel::HttpResponse
- Mongrel::HttpServer
- Mongrel::Rails
- Mongrel::Rails::RailsConfigurator
- Mongrel::Rails::RailsHandler
- Mongrel::RedirectHandler
- Mongrel::StatisticsFilter
- Mongrel::Stats
- Mongrel::StatusHandler
- Mongrel::StopServer
- Mongrel::TimeoutError
- Mongrel::URIClassifier
- Mongrel::URIClassifier::RegistrationError
- Mongrel::URIClassifier::UsageError
- RequestLog
- RequestLog::Access
- RequestLog::Files
- RequestLog::Objects
- RequestLog::Params
- RequestLog::Threads
- IO
- Kernel
- MongrelDbg
- TCPServer

No matching classes.

# Mongrel::HttpHandlerPlugin

This is used when your handler is implemented as a GemPlugin. The plugin always takes an options hash which you can modify and then access later. They are stored by default for the process method later.

### Attributes

listener[RW]
options[R]
request_notify[R]

### Public Class Methods

new(options={}) click to toggle source

    # File lib/mongrel/handlers.rb, line 60
    def initialize(options={})
      @options = options
      @header_only = false
    end

### Public Instance Methods

process(request, response) click to toggle source

    # File lib/mongrel/handlers.rb, line 65
    def process(request, response)
    end

request_begins(params) click to toggle source

    # File lib/mongrel/handlers.rb, line 54
    def request_begins(params)
    end

request_progress(params, clen, total) click to toggle source

    # File lib/mongrel/handlers.rb, line 57
    def request_progress(params, clen, total)
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.