In: |
lib/Borges/RequestHandler/Dispatcher.rb
|
Parent: | Object |
The Dispatcher dispatches incoming requests to the correct handler (entry point) and registers server entry points.
DEFAULT_URL_PREFIX | = | "/borges" |
url_prefix | [RW] |
Retrieve the handler for the request. If no entry point matches, return the NotFoundHandler.
Register a new entry point at path. The handler be invoked on requests to "#{@url_prefix}/#{path}".