类 SentinelGatewayFilter

java.lang.Object
com.alibaba.csp.sentinel.adapter.gateway.sc.SentinelGatewayFilter
所有已实现的接口:
org.springframework.cloud.gateway.filter.GatewayFilter, org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.cloud.gateway.support.ShortcutConfigurable, org.springframework.core.Ordered

public class SentinelGatewayFilter extends Object implements org.springframework.cloud.gateway.filter.GatewayFilter, org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
从以下版本开始:
1.6.0
作者:
Eric Zhao
  • 嵌套类概要

    从接口继承的嵌套类/接口 org.springframework.cloud.gateway.support.ShortcutConfigurable

    org.springframework.cloud.gateway.support.ShortcutConfigurable.GatewayEvaluationContext, org.springframework.cloud.gateway.support.ShortcutConfigurable.RestrictivePropertyAccessor, org.springframework.cloud.gateway.support.ShortcutConfigurable.ShortcutType
  • 字段概要

    从接口继承的字段 org.springframework.cloud.gateway.filter.GatewayFilter

    NAME_KEY, VALUE_KEY

    从接口继承的字段 org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • 构造器概要

    构造器
    构造器
    说明
     
     
    SentinelGatewayFilter(int order, com.alibaba.csp.sentinel.adapter.gateway.common.param.RequestItemParser<org.springframework.web.server.ServerWebExchange> requestItemParser)
     
    SentinelGatewayFilter(com.alibaba.csp.sentinel.adapter.gateway.common.param.RequestItemParser<org.springframework.web.server.ServerWebExchange> serverWebExchangeItemParser)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    reactor.core.publisher.Mono<Void>
    filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
     
    int
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 org.springframework.cloud.gateway.support.ShortcutConfigurable

    shortcutFieldOrder, shortcutFieldPrefix, shortcutType
  • 构造器详细资料

    • SentinelGatewayFilter

      public SentinelGatewayFilter()
    • SentinelGatewayFilter

      public SentinelGatewayFilter(int order)
    • SentinelGatewayFilter

      public SentinelGatewayFilter(com.alibaba.csp.sentinel.adapter.gateway.common.param.RequestItemParser<org.springframework.web.server.ServerWebExchange> serverWebExchangeItemParser)
    • SentinelGatewayFilter

      public SentinelGatewayFilter(int order, com.alibaba.csp.sentinel.adapter.gateway.common.param.RequestItemParser<org.springframework.web.server.ServerWebExchange> requestItemParser)
  • 方法详细资料

    • filter

      public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
      指定者:
      filter 在接口中 org.springframework.cloud.gateway.filter.GatewayFilter
      指定者:
      filter 在接口中 org.springframework.cloud.gateway.filter.GlobalFilter
    • getOrder

      public int getOrder()
      指定者:
      getOrder 在接口中 org.springframework.core.Ordered