类 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) 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) -
方法概要
从类继承的方法 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
-