Class WebMvcRegistrationsAdapter
- java.lang.Object
- org.springframework.boot.autoconfigure.web.WebMvcRegistrationsAdapter
- All Implemented Interfaces:
WebMvcRegistrations
public class WebMvcRegistrationsAdapter extends Object implements WebMvcRegistrations
An implementation ofWebMvcRegistrations
with empty methods allowing sub-classes to override only the methods they're interested in.- Since:
- 1.4.0
Constructor Summary
Constructors Constructor Description WebMvcRegistrationsAdapter()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver
getExceptionHandlerExceptionResolver()
Return the customExceptionHandlerExceptionResolver
that should be used and processed by the MVC configuration.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter
getRequestMappingHandlerAdapter()
Return the customRequestMappingHandlerAdapter
that should be used and processed by the MVC configuration.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
getRequestMappingHandlerMapping()
Return the customRequestMappingHandlerMapping
that should be used and processed by the MVC configuration.
Constructor Detail
WebMvcRegistrationsAdapter
public WebMvcRegistrationsAdapter()
Method Detail
getRequestMappingHandlerMapping
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()
Description copied from interface:WebMvcRegistrations
Return the customRequestMappingHandlerMapping
that should be used and processed by the MVC configuration.- Specified by:
getRequestMappingHandlerMapping
in interfaceWebMvcRegistrations
- Returns:
- the custom
RequestMappingHandlerMapping
instance
getRequestMappingHandlerAdapter
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
Description copied from interface:WebMvcRegistrations
Return the customRequestMappingHandlerAdapter
that should be used and processed by the MVC configuration.- Specified by:
getRequestMappingHandlerAdapter
in interfaceWebMvcRegistrations
- Returns:
- the custom
RequestMappingHandlerAdapter
instance
getExceptionHandlerExceptionResolver
public org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver getExceptionHandlerExceptionResolver()
Description copied from interface:WebMvcRegistrations
Return the customExceptionHandlerExceptionResolver
that should be used and processed by the MVC configuration.- Specified by:
getExceptionHandlerExceptionResolver
in interfaceWebMvcRegistrations
- Returns:
- the custom
ExceptionHandlerExceptionResolver
instance