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