Borges::Dispatcher (Class)

In: lib/Borges/RequestHandler/Dispatcher.rb
Parent: Object

The Dispatcher dispatches incoming requests to the correct handler (entry point) and registers server entry points.




url_prefix  [RW] 

Included Modules


Public Class methods

Public Instance methods

Retrieve a sorted copy of the Dispatcher’s entry points.

Pass the request off to the handler for the request.

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}".

Unregister an entry point and return it.