public interface WebMvcRegistrations
WebMvcConfigurationSupport
in place
of the default ones provided by Spring MVC.
All custom instances are later processed by Boot and Spring MVC configurations. A single instance of this component should be registered, otherwise making it impossible to choose from redundant MVC components.
WebMvcAutoConfiguration.EnableWebMvcConfiguration
Modifier and Type | Method and Description |
---|---|
org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver |
getExceptionHandlerExceptionResolver()
Return the custom
ExceptionHandlerExceptionResolver that should be used and
processed by the MVC configuration. |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter |
getRequestMappingHandlerAdapter()
Return the custom
RequestMappingHandlerAdapter that should be used and
processed by the MVC configuration. |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
getRequestMappingHandlerMapping()
Return the custom
RequestMappingHandlerMapping that should be used and
processed by the MVC configuration. |
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()
RequestMappingHandlerMapping
that should be used and
processed by the MVC configuration.RequestMappingHandlerMapping
instanceorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
RequestMappingHandlerAdapter
that should be used and
processed by the MVC configuration.RequestMappingHandlerAdapter
instanceorg.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver getExceptionHandlerExceptionResolver()
ExceptionHandlerExceptionResolver
that should be used and
processed by the MVC configuration.ExceptionHandlerExceptionResolver
instanceCopyright © 2017 Pivotal Software, Inc.. All rights reserved.