cspray/SprayFire — Issue #26: Router or RoutedUri?
Author: cspray
Created: 2011-12-25 17:53:37+00:00
State: open
Labels: roadmap

Should we expect a `Router` or a `RoutedUri` to be injected into the `Request`? Ultimately this could drastically impact the way we `Router` operates. If we pass `Router` into `Request` then there must be some mechanism to actually *store* the `RoutedUri` instead of simply converting a `Uri` into a `RoutedUri`.

Simply taken at face value this is actually not that complex. The complexities come when we consider that if we are storing 1 `RoutedUri` in `Router` why could we not store *multiple* `RoutedUri` in `Router`? Do we want to have one request instantiating and invoking more than one controller? What could be some of the implications behind this? How does it change our dispatcher?