mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
e11cb2d856
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