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 |
---|---|
default org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver |
getExceptionHandlerExceptionResolver()
Return the custom
ExceptionHandlerExceptionResolver that should be used and
processed by the MVC configuration. |
default org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter |
getRequestMappingHandlerAdapter()
Return the custom
RequestMappingHandlerAdapter that should be used and
processed by the MVC configuration. |
default org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping |
getRequestMappingHandlerMapping()
Return the custom
RequestMappingHandlerMapping that should be used and
processed by the MVC configuration. |
default org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()
RequestMappingHandlerMapping
that should be used and
processed by the MVC configuration.RequestMappingHandlerMapping
instancedefault org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
RequestMappingHandlerAdapter
that should be used and
processed by the MVC configuration.RequestMappingHandlerAdapter
instancedefault org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver getExceptionHandlerExceptionResolver()
ExceptionHandlerExceptionResolver
that should be used and
processed by the MVC configuration.ExceptionHandlerExceptionResolver
instanceCopyright © 2018 Pivotal Software, Inc.. All rights reserved.