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 org.springframework.web.client.RestTemplate |
customizeTemplate(org.springframework.web.client.RestTemplate restTemplate)
Customizes the
RestTemplate instance. |
default 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 © 2022 Pivotal Software, Inc.. All rights reserved.