public class AsyncLoadBalancerInterceptor extends Object implements org.springframework.http.client.AsyncClientHttpRequestInterceptor
Constructor and Description |
---|
AsyncLoadBalancerInterceptor(LoadBalancerClient loadBalancer) |
Modifier and Type | Method and Description |
---|---|
org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> |
intercept(org.springframework.http.HttpRequest request,
byte[] body,
org.springframework.http.client.AsyncClientHttpRequestExecution execution) |
public AsyncLoadBalancerInterceptor(LoadBalancerClient loadBalancer)
public org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> intercept(org.springframework.http.HttpRequest request, byte[] body, org.springframework.http.client.AsyncClientHttpRequestExecution execution) throws IOException
intercept
in interface org.springframework.http.client.AsyncClientHttpRequestInterceptor
IOException
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.