method

new

Importance_1
Ruby latest stable (v2_5_5) - 0 notes - Class: Servlet
new(server, stores, cache, mount_path = nil, extra_doc_dirs = []) public

Creates a new WEBrick servlet.

Use mount_path when mounting the servlet somewhere other than /.

Use extra_doc_dirs for additional documentation directories.

server is provided automatically by WEBrick when mounting. stores and cache are provided automatically by the servlet.

Show source
Register or log in to add new notes.