DispatchServlet


Files

Parent

WEBrick::HTTPServlet::AbstractServlet

Description

A custom dispatch servlet for use with WEBrick. It dispatches requests (using the Rails Dispatcher) to the appropriate controller/action. By default, it restricts WEBrick to a managing a single Rails request at a time, but you can change this behavior by setting ActionController::Base.allow_concurrency to true.

Methods

Public Class methods

dispatch (options = {})

Start the WEBrick server with the given options, mounting the DispatchServlet at /.