method

add_handler

ruby latest stable - Class: WEBrick::HTTPServlet::FileHandler
add_handler(suffix, handler)
public

Allow custom handling of requests for files with suffix by class handler