spring-framework / org.springframework.web.servlet.config.annotation / WebMvcConfigurationSupport / viewControllerHandlerMapping

viewControllerHandlerMapping

@Bean open fun viewControllerHandlerMapping(): HandlerMapping

Return a handler mapping ordered at 1 to map URL paths directly to view names. To configure view controllers, override #addViewControllers.