|
|
@ -169,7 +169,8 @@ public class RestTemplateBuilder {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Set the {@link HttpMessageConverter HttpMessageConverters} that should be used with
|
|
|
|
* Set the {@link HttpMessageConverter HttpMessageConverters} that should be used with
|
|
|
|
* the {@link RestTemplate}. Setting this value will replace any previously configured
|
|
|
|
* the {@link RestTemplate}. Setting this value will replace any previously configured
|
|
|
|
* converters.
|
|
|
|
* converters and any converters configured on the builder will replace RestTemplate's
|
|
|
|
|
|
|
|
* default converters.
|
|
|
|
* @param messageConverters the converters to set
|
|
|
|
* @param messageConverters the converters to set
|
|
|
|
* @return a new builder instance
|
|
|
|
* @return a new builder instance
|
|
|
|
* @see #additionalMessageConverters(HttpMessageConverter...)
|
|
|
|
* @see #additionalMessageConverters(HttpMessageConverter...)
|
|
|
@ -183,7 +184,8 @@ public class RestTemplateBuilder {
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Set the {@link HttpMessageConverter HttpMessageConverters} that should be used with
|
|
|
|
* Set the {@link HttpMessageConverter HttpMessageConverters} that should be used with
|
|
|
|
* the {@link RestTemplate}. Setting this value will replace any previously configured
|
|
|
|
* the {@link RestTemplate}. Setting this value will replace any previously configured
|
|
|
|
* converters.
|
|
|
|
* converters and any converters configured on the builder will replace RestTemplate's
|
|
|
|
|
|
|
|
* default converters.
|
|
|
|
* @param messageConverters the converters to set
|
|
|
|
* @param messageConverters the converters to set
|
|
|
|
* @return a new builder instance
|
|
|
|
* @return a new builder instance
|
|
|
|
* @see #additionalMessageConverters(HttpMessageConverter...)
|
|
|
|
* @see #additionalMessageConverters(HttpMessageConverter...)
|
|
|
@ -201,8 +203,8 @@ public class RestTemplateBuilder {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
|
|
|
|
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
|
|
|
|
* used with the {@link RestTemplate}. The final list of converters replace any
|
|
|
|
* used with the {@link RestTemplate}. Any converters configured on the builder will
|
|
|
|
* RestTemplate came configured with.
|
|
|
|
* replace RestTemplate's default converters.
|
|
|
|
* @param messageConverters the converters to add
|
|
|
|
* @param messageConverters the converters to add
|
|
|
|
* @return a new builder instance
|
|
|
|
* @return a new builder instance
|
|
|
|
* @see #messageConverters(HttpMessageConverter...)
|
|
|
|
* @see #messageConverters(HttpMessageConverter...)
|
|
|
@ -215,8 +217,8 @@ public class RestTemplateBuilder {
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
|
|
|
|
* Add additional {@link HttpMessageConverter HttpMessageConverters} that should be
|
|
|
|
* used with the {@link RestTemplate}. The final list of converters replace any
|
|
|
|
* used with the {@link RestTemplate}. Any converters configured on the builder will
|
|
|
|
* RestTemplate came configured with.
|
|
|
|
* replace RestTemplate's default converters.
|
|
|
|
* @param messageConverters the converters to add
|
|
|
|
* @param messageConverters the converters to add
|
|
|
|
* @return a new builder instance
|
|
|
|
* @return a new builder instance
|
|
|
|
* @see #messageConverters(HttpMessageConverter...)
|
|
|
|
* @see #messageConverters(HttpMessageConverter...)
|
|
|
|