ControllerClassNameHandlerMapping.java | Class | Implementation of
HandlerMapping that follows a simple convention for
generating URL path mappings from the class names of registered
org.springframework.web.servlet.mvc.Controller and
org.springframework.web.servlet.mvc.throwaway.ThrowawayController beans.
For simple
org.springframework.web.servlet.mvc.Controller implementations
(those that handle a single request type), the convention is to take the
ClassUtils.getShortName short name of the Class ,
remove the 'Controller' suffix if it exists and return the remaining text, lowercased,
as the mapping, with a leading / . |