new(server, root, options={}, default=Config::FileHandler) public

Creates a FileHandler servlet on server that serves files starting at directory root

options may be a Hash containing keys from WEBrick::Config::FileHandler or true or false.

If options is true or false then :FancyIndexing is enabled or disabled respectively.

Show source
Register or log in to add new notes.