Interface RestTemplateRequestCustomizer<T extends ClientHttpRequest>
- Type Parameters:
T- theClientHttpRequesttype
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
@Deprecated(since="4.2.0",
forRemoval=true)
public interface RestTemplateRequestCustomizer<T extends ClientHttpRequest>
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.2.0 for removal in 4.4.0 with no replacement
Callback interface that can be used to customize the
ClientHttpRequest sent
from a RestTemplate.- Since:
- 4.0.0
- Author:
- Ilya Lukyanovich, Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Customize the specifiedClientHttpRequest.
-
Method Details
-
customize
Deprecated, for removal: This API element is subject to removal in a future version.Customize the specifiedClientHttpRequest.- Parameters:
request- the request to customize
-