@Configuration(proxyBeanMethods=false) public static class ApolloExtendAdminConfiguration.InterceptorConfiguration extends Object
| 构造器和说明 |
|---|
InterceptorConfiguration() |
@Bean
@ConditionalOnProperty(name="apollo.extend.admin.request.interceptor.enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnMissingBean(name="requestInterceptor")
public org.springframework.web.servlet.HandlerInterceptor requestInterceptor()
@Bean
@ConditionalOnProperty(name="apollo.extend.admin.token.interceptor.enabled",
havingValue="true",
matchIfMissing=true)
@ConditionalOnMissingBean(name="tokenInterceptor")
public org.springframework.web.servlet.HandlerInterceptor tokenInterceptor()
Copyright © 2021. All rights reserved.