public interface ZipkinRestTemplateCustomizer
RestTemplate used to report spans to Zipkin. For
example, they can add an additional header needed by their environment.
Implementors must gzip according to ZipkinProperties.Compression, for example
by using the DefaultZipkinRestTemplateCustomizer.
| Modifier and Type | Method and Description |
|---|---|
default void |
customize(org.springframework.web.client.RestTemplate restTemplate)
Deprecated.
|
default org.springframework.web.client.RestTemplate |
customizeTemplate(org.springframework.web.client.RestTemplate restTemplate)
Customizes the
RestTemplate instance. |
@Deprecated default void customize(org.springframework.web.client.RestTemplate restTemplate)
customizeTemplate(RestTemplate)RestTemplate.restTemplate - object to customizedefault org.springframework.web.client.RestTemplate customizeTemplate(org.springframework.web.client.RestTemplate restTemplate)
RestTemplate instance. Might return a new one if necessary.restTemplate - default object to customizeRestTemplate or a new objectCopyright © 2019 Pivotal Software, Inc.. All rights reserved.