Class

DispatchServlet

Inheritance
< WEBrick::HTTPServlet::AbstractServlet

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

Class

Visibility Signature
public dispatch (options = {})

Class Method Detail

dispatch(options = {})

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