class

WEBrick::HTTPServlet::FileHandler

v2_1_10 - Show latest stable - Superclass: AbstractServlet

Serves a directory including fancy indexing and a variety of other options.

Example:

server.mount '/assets', WEBrick::FileHandler, '/path/to/assets'

Constants

HandlerTable = Hash.new # :nodoc:

Files

  • lib/webrick/httpservlet/filehandler.rb