@Configuration @ConditionalOnBean(value=org.springframework.http.client.support.InterceptingAsyncHttpAccessor.class) @ConditionalOnClass(value=org.springframework.http.client.support.InterceptingAsyncHttpAccessor.class) public static class RestTemplateTracingAutoConfiguration.AsyncRestTemplatePostProcessingConfiguration extends Object
TracingAsyncRestTemplateInterceptor into InterceptingAsyncHttpAccessor.getInterceptors().
Note: From Spring Framework 5, AsyncRestTemplate is deprecated.
| Constructor and Description |
|---|
AsyncRestTemplatePostProcessingConfiguration(io.opentracing.Tracer tracer,
List<RestTemplateSpanDecorator> spanDecorators,
Set<org.springframework.http.client.support.InterceptingAsyncHttpAccessor> restTemplates) |
public AsyncRestTemplatePostProcessingConfiguration(io.opentracing.Tracer tracer,
List<RestTemplateSpanDecorator> spanDecorators,
Set<org.springframework.http.client.support.InterceptingAsyncHttpAccessor> restTemplates)
@PostConstruct public void init()
Copyright © 2016–2020. All rights reserved.