Module: Mongrel::HttpHandlerPlugin

Module | Mongrel::HttpHandlerPlugin
In: | lib/mongrel/handlers.rb lib/mongrel/handlers.rb

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.

### Methods

new new process process request_begins request_begins request_progress request_progress

### Attributes

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

### Public Class methods

new(options={})

[Source]

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

new(options={})

[Source]

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

### Public Instance methods

process(request, response)

[Source]

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

process(request, response)

[Source]

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

request_begins(params)

[Source]

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

request_begins(params)

[Source]

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

request_progress(params, clen, total)

[Source]

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

request_progress(params, clen, total)

[Source]

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

[Validate]