public class ReversibleURLHandlerMapping extends AbstractHandlerMapping implements ReverseURLMapper(Code)
A semi-obsolete class mapping URLs to SpringMVC "Handlers"/Controllers,
dating from the days when we were still experimenting with getting using
SpringMVC as a view locator. What we would "like" is to be able to refer
to views from out of Handlers in order to generate URLs, but this approach
fails conceptually since Spring URL mappings are not in general one-to-one.
This problem goes away in RSF with the ViewParameters system.
author: Antranig Basman (antranig@caret.cam.ac.uk)
Set a Map with URL paths as keys and handler beans as values. Convenient
for population with bean references.
The key MUST be a single URL path (no wildcards),
and the value MUST be a bean implementing
Controller.
Parameters: urlMap - map with URLs as keys and beans as values