org.springframework.web.servlet.handler

Class BeanNameUrlHandlerMapping

    • Constructor Detail

      • BeanNameUrlHandlerMapping

        public BeanNameUrlHandlerMapping()
    • Method Detail

      • determineUrlsForHandler

        protected java.lang.String[] determineUrlsForHandler(java.lang.String beanName)
        Checks name and aliases of the given bean for URLs, starting with "/".
        Specified by:
        determineUrlsForHandler in class AbstractDetectingUrlHandlerMapping
        Parameters:
        beanName - the name of the candidate bean
        Returns:
        the URLs determined for the bean, or an empty array if none