Class: Mongrel::HttpHandler
- Inherits:
-
Object
- Object
- Mongrel::HttpHandler
- Defined in:
- lib/mongrel/handlers.rb
Overview
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.
Direct Known Subclasses
Camping::CampingHandler, DirHandler, Error404Handler, Rails::RailsHandler
Instance Method Summary collapse
Instance Method Details
#process(request, response) ⇒ Object
23 24 |
# File 'lib/mongrel/handlers.rb', line 23 def process(request, response) end |