类 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 next WebFilter through the given GatewayFilterChain.
    int
    Get the order value of this object.

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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • 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 next WebFilter through the given GatewayFilterChain.
      指定者:
      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-startup values).

      Same order values will result in arbitrary sort positions for the affected objects.

      指定者:
      getOrder 在接口中 org.springframework.core.Ordered
      另请参阅:
      • Ordered.HIGHEST_PRECEDENCE
      • Ordered.LOWEST_PRECEDENCE