public class TracingAsyncRestTemplateInterceptor extends Object implements org.springframework.http.client.AsyncClientHttpRequestInterceptor
AsyncRestTemplate is deprecated.| Constructor and Description |
|---|
TracingAsyncRestTemplateInterceptor() |
TracingAsyncRestTemplateInterceptor(io.opentracing.Tracer tracer) |
TracingAsyncRestTemplateInterceptor(io.opentracing.Tracer tracer,
List<RestTemplateSpanDecorator> spanDecorators) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> |
intercept(org.springframework.http.HttpRequest httpRequest,
byte[] body,
org.springframework.http.client.AsyncClientHttpRequestExecution execution) |
public TracingAsyncRestTemplateInterceptor()
public TracingAsyncRestTemplateInterceptor(io.opentracing.Tracer tracer)
public TracingAsyncRestTemplateInterceptor(io.opentracing.Tracer tracer,
List<RestTemplateSpanDecorator> spanDecorators)
public org.springframework.util.concurrent.ListenableFuture<org.springframework.http.client.ClientHttpResponse> intercept(org.springframework.http.HttpRequest httpRequest,
byte[] body,
org.springframework.http.client.AsyncClientHttpRequestExecution execution)
throws IOException
intercept in interface org.springframework.http.client.AsyncClientHttpRequestInterceptorIOExceptionCopyright © 2016–2020. All rights reserved.