Class

DispatchServlet

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.

Constants
REQUEST_MUTEX
Public Methods
dispatch Start the WEBrick server with the given options, mounting the DispatchServlet at /.
handle_dispatch
handle_file
new
service
Private Methods
assign_status
create_env_table
extract_header_and_body
set_charset
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.