Clarify that RestTemplateBuilder overwrites default converters
See gh-13714
This commit is contained in:
committed by
Andy Wilkinson
parent
17e9a2ee62
commit
3dbeff56e4
@@ -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...)
|
||||
|
||||
Reference in New Issue
Block a user