Class OrderedGatewayFilter

java.lang.Object
org.springframework.cloud.gateway.filter.OrderedGatewayFilter
All Implemented Interfaces:
GatewayFilter, ShortcutConfigurable, org.springframework.core.Ordered

public class OrderedGatewayFilter extends Object implements GatewayFilter, org.springframework.core.Ordered
Author:
Spencer Gibb
  • Constructor Details

    • OrderedGatewayFilter

      public OrderedGatewayFilter(GatewayFilter delegate, int order)
  • Method Details

    • getDelegate

      public GatewayFilter getDelegate()
    • filter

      public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, GatewayFilterChain chain)
      Description copied from interface: GatewayFilter
      Process the Web request and (optionally) delegate to the next WebFilter through the given GatewayFilterChain.
      Specified by:
      filter in interface GatewayFilter
      Parameters:
      exchange - the current server exchange
      chain - provides a way to delegate to the next filter
      Returns:
      Mono<Void> to indicate when request processing is complete
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • toString

      public String toString()
      Overrides:
      toString in class Object