@@ -169,7 +169,8 @@ public RestTemplateBuilder rootUri(String rootUri) {
169
169
/**
170
170
* Set the {@link HttpMessageConverter HttpMessageConverters} that should be used with
171
171
* the {@link RestTemplate}. Setting this value will replace any previously configured
172
- * converters.
172
+ * converters and any converters configured on the builder will replace RestTemplate's
173
+ * default converters.
173
174
* @param messageConverters the converters to set
174
175
* @return a new builder instance
175
176
* @see #additionalMessageConverters(HttpMessageConverter...)
@@ -183,7 +184,8 @@ public RestTemplateBuilder messageConverters(
183
184
/**
184
185
* Set the {@link HttpMessageConverter HttpMessageConverters} that should be used with
185
186
* the {@link RestTemplate}. Setting this value will replace any previously configured
186
- * converters.
187
+ * converters and any converters configured on the builder will replace RestTemplate's
188
+ * default converters.
187
189
* @param messageConverters the converters to set
188
190
* @return a new builder instance
189
191
* @see #additionalMessageConverters(HttpMessageConverter...)
@@ -201,7 +203,8 @@ public RestTemplateBuilder messageConverters(
201
203
202
204
/**
203
205
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
204
- * used with the {@link RestTemplate}.
206
+ * used with the {@link RestTemplate}. Any converters configured on the builder will
207
+ * replace RestTemplate's default converters.
205
208
* @param messageConverters the converters to add
206
209
* @return a new builder instance
207
210
* @see #messageConverters(HttpMessageConverter...)
@@ -214,7 +217,8 @@ public RestTemplateBuilder additionalMessageConverters(
214
217
215
218
/**
216
219
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
217
- * used with the {@link RestTemplate}.
220
+ * used with the {@link RestTemplate}. Any converters configured on the builder will
221
+ * replace RestTemplate's default converters.
218
222
* @param messageConverters the converters to add
219
223
* @return a new builder instance
220
224
* @see #messageConverters(HttpMessageConverter...)
0 commit comments