mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
051219c3c9
The `AbstractHttpMessageConverter#supportsRepeatableWrites` contract is a protected method that message converters can override. This method tells whether the current converter can write several times the payload given as a parameter. This is mainly useful on the client side, where we need to know if we can send the same HTTP message again, after receiving an HTTP redirect status. Because this method is protected, this limits our ability to call it from a different package; this is needed for gh-33263. This commit promotes this method to the main `HttpMessageConverter` interface and deprecates the former. Closes gh-36252