class

WEBrick::HTTPServlet::FileHandler

v2_6_3 - Show latest stable - Superclass: AbstractServlet

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

Example:

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

Constants

HandlerTable = Hash.new # :nodoc:

Files

  • lib/webrick/httpservlet/filehandler.rb