Class SentinelWebAutoConfiguration

java.lang.Object
com.alibaba.cloud.sentinel.SentinelWebAutoConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=SERVLET) @ConditionalOnProperty(name="spring.cloud.sentinel.enabled", matchIfMissing=true) @ConditionalOnClass(com.alibaba.csp.sentinel.adapter.spring.webmvc_v6x.SentinelWebInterceptor.class) @EnableConfigurationProperties(SentinelProperties.class) public class SentinelWebAutoConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
Author:
xiaojing, yuhuangbin
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.alibaba.csp.sentinel.adapter.spring.webmvc_v6x.SentinelWebInterceptor
    sentinelWebInterceptor(com.alibaba.csp.sentinel.adapter.spring.webmvc_v6x.config.SentinelWebMvcConfig sentinelWebMvcConfig)
     
    com.alibaba.csp.sentinel.adapter.spring.webmvc_v6x.config.SentinelWebMvcConfig
     
     

    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, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • SentinelWebAutoConfiguration

      public SentinelWebAutoConfiguration()
  • Method Details

    • sentinelWebInterceptor

      @Bean @ConditionalOnProperty(name="spring.cloud.sentinel.filter.enabled", matchIfMissing=true) public com.alibaba.csp.sentinel.adapter.spring.webmvc_v6x.SentinelWebInterceptor sentinelWebInterceptor(com.alibaba.csp.sentinel.adapter.spring.webmvc_v6x.config.SentinelWebMvcConfig sentinelWebMvcConfig)
    • sentinelWebMvcConfig

      @Bean @ConditionalOnProperty(name="spring.cloud.sentinel.filter.enabled", matchIfMissing=true) public com.alibaba.csp.sentinel.adapter.spring.webmvc_v6x.config.SentinelWebMvcConfig sentinelWebMvcConfig()
    • sentinelWebMvcConfigurer

      @Bean @ConditionalOnProperty(name="spring.cloud.sentinel.filter.enabled", matchIfMissing=true) public SentinelWebMvcConfigurer sentinelWebMvcConfigurer()