@Component(value="AuthGlobalFilter")
public class AuthGlobalFilter
extends java.lang.Object
implements org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
| Constructor and Description |
|---|
AuthGlobalFilter() |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<java.lang.Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
过滤方法
|
int |
getOrder()
设置过滤器顺序
|
public reactor.core.publisher.Mono<java.lang.Void> filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
filter in interface org.springframework.cloud.gateway.filter.GlobalFilterpublic int getOrder()
getOrder in interface org.springframework.core.Ordered