public class GatewayMetricsFilter extends Object implements GlobalFilter, org.springframework.core.Ordered
| Constructor and Description |
|---|
GatewayMetricsFilter(io.micrometer.core.instrument.MeterRegistry meterRegistry)
Deprecated.
|
GatewayMetricsFilter(io.micrometer.core.instrument.MeterRegistry meterRegistry,
List<GatewayTagsProvider> tagsProviders)
Deprecated.
|
GatewayMetricsFilter(io.micrometer.core.instrument.MeterRegistry meterRegistry,
List<GatewayTagsProvider> tagsProviders,
String metricsPrefix) |
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Mono<Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
GatewayFilterChain chain)
Process the Web request and (optionally) delegate to the next
WebFilter
through the given GatewayFilterChain. |
String |
getMetricsPrefix() |
int |
getOrder() |
@Deprecated public GatewayMetricsFilter(io.micrometer.core.instrument.MeterRegistry meterRegistry, List<GatewayTagsProvider> tagsProviders)
public GatewayMetricsFilter(io.micrometer.core.instrument.MeterRegistry meterRegistry,
List<GatewayTagsProvider> tagsProviders,
String metricsPrefix)
@Deprecated public GatewayMetricsFilter(io.micrometer.core.instrument.MeterRegistry meterRegistry)
public String getMetricsPrefix()
public int getOrder()
getOrder in interface org.springframework.core.Orderedpublic reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, GatewayFilterChain chain)
GlobalFilterWebFilter
through the given GatewayFilterChain.filter in interface GlobalFilterexchange - the current server exchangechain - provides a way to delegate to the next filterMono<Void> to indicate when request processing is completeCopyright © 2020 Pivotal Software, Inc.. All rights reserved.