File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
spring-boot/src/main/java/org/springframework/boot/web/client Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -201,7 +201,8 @@ public RestTemplateBuilder messageConverters(
201
201
202
202
/**
203
203
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
204
- * used with the {@link RestTemplate}.
204
+ * used with the {@link RestTemplate}. The final list of converters replace any
205
+ * RestTemplate came configured with.
205
206
* @param messageConverters the converters to add
206
207
* @return a new builder instance
207
208
* @see #messageConverters(HttpMessageConverter...)
@@ -214,7 +215,8 @@ public RestTemplateBuilder additionalMessageConverters(
214
215
215
216
/**
216
217
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
217
- * used with the {@link RestTemplate}.
218
+ * used with the {@link RestTemplate}. The final list of converters replace any
219
+ * RestTemplate came configured with.
218
220
* @param messageConverters the converters to add
219
221
* @return a new builder instance
220
222
* @see #messageConverters(HttpMessageConverter...)
You can’t perform that action at this time.
0 commit comments