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