mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-21 13:31:46 +00:00
Internally maintain a chain of HttpMessageConverters.ClientBuilder consumers in addition to the List of converters. List based methods apply to the list. HttpMessageConverters based methods are composed into a Consumer. At build() time prepare a single HttpMessageConverters.ClientBuilder. Insert list based converters first. Apply HttpMessageConverters consumers after that. Deprecate both List methods. Eventually, HttpMessageConverters should be the main mechanism. In the mean time we layer them as described. Closes gh-35578