Package org.aoju.bus.goalie.handler
Class ApiWebMvcRegistrations
java.lang.Object
org.aoju.bus.goalie.handler.ApiWebMvcRegistrations
- All Implemented Interfaces:
org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
public class ApiWebMvcRegistrations
extends Object
implements org.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
spring boot专用,避免继承webconfigurationsupport对spring的自动配置侵入和破坏
- Since:
- Java 17++
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolverorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapterorg.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping
-
Constructor Details
-
ApiWebMvcRegistrations
public ApiWebMvcRegistrations()
-
-
Method Details
-
getRequestMappingHandlerMapping
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping getRequestMappingHandlerMapping()- Specified by:
getRequestMappingHandlerMappingin interfaceorg.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
-
getRequestMappingHandlerAdapter
public org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter getRequestMappingHandlerAdapter()- Specified by:
getRequestMappingHandlerAdapterin interfaceorg.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
-
getExceptionHandlerExceptionResolver
public org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver getExceptionHandlerExceptionResolver()- Specified by:
getExceptionHandlerExceptionResolverin interfaceorg.springframework.boot.autoconfigure.web.servlet.WebMvcRegistrations
-