ReactiveLoadBalancerClientFilter
@Deprecated public class LoadBalancerClientFilter extends Object implements GlobalFilter, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
static int |
LOAD_BALANCER_CLIENT_FILTER_ORDER
Deprecated.
Filter order for
LoadBalancerClientFilter . |
protected org.springframework.cloud.client.loadbalancer.LoadBalancerClient |
loadBalancer
Deprecated.
|
Constructor and Description |
---|
LoadBalancerClientFilter(org.springframework.cloud.client.loadbalancer.LoadBalancerClient loadBalancer,
LoadBalancerProperties properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.cloud.client.ServiceInstance |
choose(org.springframework.web.server.ServerWebExchange exchange)
Deprecated.
|
reactor.core.publisher.Mono<Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
GatewayFilterChain chain)
Deprecated.
Process the Web request and (optionally) delegate to the next
WebFilter
through the given GatewayFilterChain . |
int |
getOrder()
Deprecated.
|
public static final int LOAD_BALANCER_CLIENT_FILTER_ORDER
LoadBalancerClientFilter
.protected final org.springframework.cloud.client.loadbalancer.LoadBalancerClient loadBalancer
public LoadBalancerClientFilter(org.springframework.cloud.client.loadbalancer.LoadBalancerClient loadBalancer, LoadBalancerProperties properties)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, GatewayFilterChain chain)
GlobalFilter
WebFilter
through the given GatewayFilterChain
.filter
in interface GlobalFilter
exchange
- the current server exchangechain
- provides a way to delegate to the next filterMono<Void>
to indicate when request processing is completeprotected org.springframework.cloud.client.ServiceInstance choose(org.springframework.web.server.ServerWebExchange exchange)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.