Class GatewayAddServiceNameContext

java.lang.Object
com.huaweicloud.common.adapters.gateway.GatewayAddServiceNameContext
All Implemented Interfaces:
org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered

public class GatewayAddServiceNameContext extends Object implements org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    GatewayAddServiceNameContext(org.springframework.cloud.client.serviceregistry.Registration registration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    reactor.core.publisher.Mono<Void>
    filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
     
    int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GatewayAddServiceNameContext

      public GatewayAddServiceNameContext(org.springframework.cloud.client.serviceregistry.Registration registration)
  • Method Details

    • filter

      public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.cloud.gateway.filter.GatewayFilterChain chain)
      Specified by:
      filter in interface org.springframework.cloud.gateway.filter.GlobalFilter
    • getOrder

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