mount(dir, servlet, *options) Instance Public methods Mounts servlet on dir passing options to the servlet at creation time
mount_proc(dir, proc=nil, &block) Instance Public methods Mounts proc or block on dir and calls it with a WEBrick::HTTPRequest and WEBrick::HTTPResponse
run(sock) Instance Public methods Processes requests on sock
search_servlet(path) Instance Public methods Finds a servlet for path
service(req, res) Instance Public methods Services req and fills in res
umount(dir) Instance Public methods Alias for: unmount
unmount(dir) Instance Public methods Unmounts dir umount
virtual_host(server) Instance Public methods Adds server as a virtual host.
get_instance(server, *options) Class Public methods Factory for servlet instances that will handle a request from server using options from the mount point. By default a new servlet instance is created for every call.
new(server, *options) Class Public methods Initializes a new servlet for server using options which are stored as-is in +@options+. +@logger+ is also provided.
Page 1864 of 11844