public class TraceAsyncRestTemplate
extends org.springframework.web.client.AsyncRestTemplate
AsyncRestTemplate that closes started spans when a response has been
successfully received.| Constructor and Description |
|---|
TraceAsyncRestTemplate(org.springframework.http.client.AsyncClientHttpRequestFactory asyncRequestFactory,
org.springframework.http.client.ClientHttpRequestFactory syncRequestFactory,
Tracer tracer) |
TraceAsyncRestTemplate(org.springframework.http.client.AsyncClientHttpRequestFactory requestFactory,
org.springframework.web.client.RestTemplate restTemplate,
Tracer tracer) |
TraceAsyncRestTemplate(org.springframework.http.client.AsyncClientHttpRequestFactory asyncRequestFactory,
Tracer tracer) |
TraceAsyncRestTemplate(org.springframework.core.task.AsyncListenableTaskExecutor taskExecutor,
Tracer tracer) |
TraceAsyncRestTemplate(Tracer tracer) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> org.springframework.util.concurrent.ListenableFuture<T> |
doExecute(URI url,
org.springframework.http.HttpMethod method,
org.springframework.web.client.AsyncRequestCallback requestCallback,
org.springframework.web.client.ResponseExtractor<T> responseExtractor) |
acceptHeaderRequestCallback, delete, delete, delete, exchange, exchange, exchange, exchange, exchange, exchange, execute, execute, execute, getErrorHandler, getForEntity, getForEntity, getForEntity, getMessageConverters, getRestOperations, getUriTemplateHandler, headersExtractor, headForHeaders, headForHeaders, headForHeaders, httpEntityCallback, httpEntityCallback, optionsForAllow, optionsForAllow, optionsForAllow, postForEntity, postForEntity, postForEntity, postForLocation, postForLocation, postForLocation, put, put, put, responseEntityExtractor, setDefaultUriVariables, setErrorHandler, setMessageConverters, setUriTemplateHandlergetAsyncRequestFactory, getInterceptors, setInterceptorspublic TraceAsyncRestTemplate(Tracer tracer)
public TraceAsyncRestTemplate(org.springframework.core.task.AsyncListenableTaskExecutor taskExecutor,
Tracer tracer)
public TraceAsyncRestTemplate(org.springframework.http.client.AsyncClientHttpRequestFactory asyncRequestFactory,
Tracer tracer)
public TraceAsyncRestTemplate(org.springframework.http.client.AsyncClientHttpRequestFactory asyncRequestFactory,
org.springframework.http.client.ClientHttpRequestFactory syncRequestFactory,
Tracer tracer)
public TraceAsyncRestTemplate(org.springframework.http.client.AsyncClientHttpRequestFactory requestFactory,
org.springframework.web.client.RestTemplate restTemplate,
Tracer tracer)
protected <T> org.springframework.util.concurrent.ListenableFuture<T> doExecute(URI url, org.springframework.http.HttpMethod method, org.springframework.web.client.AsyncRequestCallback requestCallback, org.springframework.web.client.ResponseExtractor<T> responseExtractor) throws org.springframework.web.client.RestClientException
doExecute in class org.springframework.web.client.AsyncRestTemplateorg.springframework.web.client.RestClientExceptionCopyright © 2017 Pivotal Software, Inc.. All rights reserved.