Package com.bytedesk.core.config
Class EnterpriseWebMvcConfig
java.lang.Object
com.bytedesk.core.config.EnterpriseWebMvcConfig
- All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
@Configuration
@Description("Enterprise Web MVC Configuration - \u4f01\u4e1a\u7248Web MVC\u914d\u7f6e\u7c7b\uff0c\u914d\u7f6eIP\u8bbf\u95ee\u62e6\u622a\u5668\u7b49\u4f01\u4e1a\u7248\u529f\u80fd")
public class EnterpriseWebMvcConfig
extends Object
implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addInterceptors
(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) 注册IP访问拦截器 - 企业版/平台版功能Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer
addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
-
Field Details
-
ipAccessInterceptor
-
-
Constructor Details
-
EnterpriseWebMvcConfig
public EnterpriseWebMvcConfig()
-
-
Method Details
-
addInterceptors
public void addInterceptors(org.springframework.web.servlet.config.annotation.InterceptorRegistry registry) 注册IP访问拦截器 - 企业版/平台版功能- Specified by:
addInterceptors
in interfaceorg.springframework.web.servlet.config.annotation.WebMvcConfigurer
-