GET request entry point. Fills in res for the path, etc. in
req.
# File lib/rdoc/servlet.rb, line 113
def do_GET req, res
req.path = req.path.sub(/^#{Regexp.escape @mount_path}/, '') if @mount_path
case req.path
when '/' then
root req, res
when '/js/darkfish.js', '/js/jquery.js', '/js/search.js',
%^/css/%, %^/images/%, %^/fonts/% then
asset :darkfish, req, res
when '/js/navigation.js', '/js/searcher.js' then
asset :json_index, req, res
when '/js/search_index.js' then
root_search req, res
else
show_documentation req, res
end
rescue WEBrick::HTTPStatus::NotFound => e
generator = generator_for RDoc::Store.new
not_found generator, req, res, e.message
rescue WEBrick::HTTPStatus::Status
raise
rescue => e
error e, req, res
end