Class

WEBrick::HTTPServlet::FileHandler

Inheritance
< WEBrick::HTTPServlet::AbstractServlet < Object

Constants

Name   Description
HandlerTable = Hash.new

Methods

Class

Visibility Signature
public add_handler (suffix, handler)
public new (server, root, options={}, default=Config::FileHandler)
public remove_handler (suffix)

Instance

Visibility Signature
public do_GET (req, res)
public do_OPTIONS (req, res)
public do_POST (req, res)
public service (req, res)

Class Method Detail

add_handler(suffix, handler)

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

remove_handler(suffix)

Instance Method Detail

do_GET(req, res)

do_OPTIONS(req, res)

do_POST(req, res)

service(req, res)