Commit 3dbeff56 authored by Welton Rodrigo Torres Nascimento's avatar Welton Rodrigo Torres Nascimento Committed by Andy Wilkinson

Clarify that RestTemplateBuilder overwrites default converters

See gh-13714
parent 17e9a2ee
......@@ -201,7 +201,8 @@ public class RestTemplateBuilder {
/**
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
* used with the {@link RestTemplate}.
* used with the {@link RestTemplate}. The final list of converters replace any
* RestTemplate came configured with.
* @param messageConverters the converters to add
* @return a new builder instance
* @see #messageConverters(HttpMessageConverter...)
......@@ -214,7 +215,8 @@ public class RestTemplateBuilder {
/**
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
* used with the {@link RestTemplate}.
* used with the {@link RestTemplate}. The final list of converters replace any
* RestTemplate came configured with.
* @param messageConverters the converters to add
* @return a new builder instance
* @see #messageConverters(HttpMessageConverter...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment