Class WebMvcRegistrationsAdapter
- java.lang.Object
- org.springframework.boot.autoconfigure.web.WebMvcRegistrationsAdapter
- All Implemented Interfaces:
WebMvcRegistrations
public class WebMvcRegistrationsAdapter extends Object implements WebMvcRegistrations
An implementation ofWebMvcRegistrationswith 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.ExceptionHandlerExceptionResolvergetExceptionHandlerExceptionResolver()Return the customExceptionHandlerExceptionResolverthat should be used and processed by the MVC configuration.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdaptergetRequestMappingHandlerAdapter()Return the customRequestMappingHandlerAdapterthat should be used and processed by the MVC configuration.org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMappinggetRequestMappingHandlerMapping()Return the customRequestMappingHandlerMappingthat 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:WebMvcRegistrationsReturn the customRequestMappingHandlerMappingthat should be used and processed by the MVC configuration.- Specified by:
getRequestMappingHandlerMappingin interfaceWebMvcRegistrations- Returns:
- the custom
RequestMappingHandlerMappinginstance
getRequestMappingHandlerAdapter
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
Description copied from interface:WebMvcRegistrationsReturn the customRequestMappingHandlerAdapterthat should be used and processed by the MVC configuration.- Specified by:
getRequestMappingHandlerAdapterin interfaceWebMvcRegistrations- Returns:
- the custom
RequestMappingHandlerAdapterinstance
getExceptionHandlerExceptionResolver
public org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver getExceptionHandlerExceptionResolver()
Description copied from interface:WebMvcRegistrationsReturn the customExceptionHandlerExceptionResolverthat should be used and processed by the MVC configuration.- Specified by:
getExceptionHandlerExceptionResolverin interfaceWebMvcRegistrations- Returns:
- the custom
ExceptionHandlerExceptionResolverinstance