Class HttpMessageConvertersRestClientCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.web.client.HttpMessageConvertersRestClientCustomizer
- All Implemented Interfaces:
RestClientCustomizer
public class HttpMessageConvertersRestClientCustomizer
extends Object
implements RestClientCustomizer
RestClientCustomizer
to apply HttpMessageConverters
.- Since:
- 3.2.0
- Author:
- Phillip Webb
-
Constructor Summary
ConstructorDescriptionHttpMessageConvertersRestClientCustomizer
(HttpMessageConverter<?>... messageConverters) -
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(RestClient.Builder restClientBuilder) Callback to customize aRestClient.Builder
instance.
-
Constructor Details
-
HttpMessageConvertersRestClientCustomizer
-
-
Method Details
-
customize
Description copied from interface:RestClientCustomizer
Callback to customize aRestClient.Builder
instance.- Specified by:
customize
in interfaceRestClientCustomizer
- Parameters:
restClientBuilder
- the client builder to customize
-