public class DefaultZipkinRestTemplateCustomizer extends Object implements ZipkinRestTemplateCustomizer
ZipkinRestTemplateCustomizer that provides the GZip compression if
ZipkinProperties.getCompression() is enabled.| Constructor and Description |
|---|
DefaultZipkinRestTemplateCustomizer(ZipkinProperties zipkinProperties) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.client.RestTemplate |
customizeTemplate(org.springframework.web.client.RestTemplate restTemplate)
Customizes the
RestTemplate instance. |
public DefaultZipkinRestTemplateCustomizer(ZipkinProperties zipkinProperties)
public org.springframework.web.client.RestTemplate customizeTemplate(org.springframework.web.client.RestTemplate restTemplate)
ZipkinRestTemplateCustomizerRestTemplate instance. Might return a new one if necessary.customizeTemplate in interface ZipkinRestTemplateCustomizerrestTemplate - default object to customizeRestTemplate or a new objectCopyright © 2022 Pivotal Software, Inc.. All rights reserved.