类 WebMvcRegistrationsAdapter
- java.lang.Object
- org.springframework.boot.autoconfigure.web.WebMvcRegistrationsAdapter
- 所有已实现的接口:
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.- 从以下版本开始:
- 1.4.0
构造器概要
构造器 构造器 说明 WebMvcRegistrationsAdapter()
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.
构造器详细资料
WebMvcRegistrationsAdapter
public WebMvcRegistrationsAdapter()
方法详细资料
getRequestMappingHandlerMapping
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()
从接口复制的说明:WebMvcRegistrationsReturn the customRequestMappingHandlerMappingthat should be used and processed by the MVC configuration.- 指定者:
getRequestMappingHandlerMapping在接口中WebMvcRegistrations- 返回:
- the custom
RequestMappingHandlerMappinginstance
getRequestMappingHandlerAdapter
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()
从接口复制的说明:WebMvcRegistrationsReturn the customRequestMappingHandlerAdapterthat should be used and processed by the MVC configuration.- 指定者:
getRequestMappingHandlerAdapter在接口中WebMvcRegistrations- 返回:
- the custom
RequestMappingHandlerAdapterinstance
getExceptionHandlerExceptionResolver
public org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver getExceptionHandlerExceptionResolver()
从接口复制的说明:WebMvcRegistrationsReturn the customExceptionHandlerExceptionResolverthat should be used and processed by the MVC configuration.- 指定者:
getExceptionHandlerExceptionResolver在接口中WebMvcRegistrations- 返回:
- the custom
ExceptionHandlerExceptionResolverinstance