类 RouteRecordGlobalFilter

java.lang.Object
com.iplatform.gateway.filter.RouteRecordGlobalFilter
所有已实现的接口:
org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered

public class RouteRecordGlobalFilter extends Object implements org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
测试的全局过滤器,显示服务调用时间。
作者:
时克英
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected final org.slf4j.Logger
     

    从接口继承的字段 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)
     
    int
     

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

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • logger

      protected final transient org.slf4j.Logger logger
  • 构造器详细资料

    • RouteRecordGlobalFilter

      public RouteRecordGlobalFilter()
  • 方法详细资料

    • 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.GlobalFilter
    • getOrder

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