类 LogFilter
java.lang.Object
cn.bbwres.biscuit.gateway.filters.LogFilter
- 所有已实现的接口:
org.springframework.cloud.gateway.filter.GlobalFilter,org.springframework.core.Ordered
public class LogFilter
extends Object
implements org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
log 日志过滤器
- 版本:
- $Id: $Id
- 作者:
- zhanglinfeng
-
字段概要
从接口继承的字段 org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain) Process the Web request and (optionally) delegate to the nextWebFilterthrough the givenGatewayFilterChain.intgetOrder()Get the order value of this object.
-
构造器详细资料
-
LogFilter
public LogFilter()
-
-
方法详细资料
-
filter
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain) Process the Web request and (optionally) delegate to the nextWebFilterthrough the givenGatewayFilterChain.- 指定者:
filter在接口中org.springframework.cloud.gateway.filter.GlobalFilter
-
getOrder
public int getOrder()Get the order value of this object.Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet
load-on-startupvalues).Same order values will result in arbitrary sort positions for the affected objects.
- 指定者:
getOrder在接口中org.springframework.core.Ordered- 另请参阅:
-