mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
1cfedb20b8
This commit adds a new constructor to `JettyClientHttpConnector` and deprecates another one. Jetty is not creating `HttpClient` instances using a builder API, but rather setting immutable configuration at constructor time and using setters for the rest. This commit addresses that by deprecating the constructor variant accepting a `Consumer` and just delegating to Spring's implementation for setting the client resources as needed. Closes gh-22977