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.