Interface WebMvcRegistrations
public interface WebMvcRegistrations
Interface to register key components of the
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.
- Since:
- 2.0.0
- Author:
- Brian Clozel
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn the customExceptionHandlerExceptionResolver
that should be used and processed by the MVC configuration.default RequestMappingHandlerAdapter
Return the customRequestMappingHandlerAdapter
that should be used and processed by the MVC configuration.default RequestMappingHandlerMapping
Return the customRequestMappingHandlerMapping
that should be used and processed by the MVC configuration.
-
Method Details
-
getRequestMappingHandlerMapping
Return the customRequestMappingHandlerMapping
that should be used and processed by the MVC configuration.- Returns:
- the custom
RequestMappingHandlerMapping
instance
-
getRequestMappingHandlerAdapter
Return the customRequestMappingHandlerAdapter
that should be used and processed by the MVC configuration.- Returns:
- the custom
RequestMappingHandlerAdapter
instance
-
getExceptionHandlerExceptionResolver
Return the customExceptionHandlerExceptionResolver
that should be used and processed by the MVC configuration.- Returns:
- the custom
ExceptionHandlerExceptionResolver
instance
-