Class GatewayMetricsGlobalFilter
java.lang.Object
com.huaweicloud.common.adapters.gateway.GatewayMetricsGlobalFilter
- All Implemented Interfaces:
org.springframework.cloud.gateway.filter.GlobalFilter,org.springframework.core.Ordered
public class GatewayMetricsGlobalFilter
extends Object
implements org.springframework.cloud.gateway.filter.GlobalFilter, org.springframework.core.Ordered
-
Field Summary
FieldsFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ACCESS_LOG_ORDER
public static final int ACCESS_LOG_ORDER- See Also:
-
-
Constructor Details
-
GatewayMetricsGlobalFilter
public GatewayMetricsGlobalFilter()
-
-
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:
filterin interfaceorg.springframework.cloud.gateway.filter.GlobalFilter
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-