Files
spring-boot/spring-boot-project
Phillip Webb 78458afa17 Introduce ClientHttpRequestFactoryBuilder support
Add a new `ClientHttpRequestFactoryBuilder` interface to support the
creation of `ClientHttpRequestFactory` instances. The new code will
ultimately replace the existing `ClientHttpRequestFactories` class.

The `ClientHttpRequestFactoryBuilder` is a functional interface with
additional static factory methods for the various supported
`ClientHttpRequestFactory` types. Each type has it's own builder
which should allow us to support additional customization in the future.

Unlike `ClientHttpRequestFactories`, the builder aligns with Spring
Framework defaults and will detect the `JdkClientHttpRequestFactory`
in preference of `SimpleClientHttpRequestFactory`.

This commit also relocates `ClientHttpRequestFactorySettings` to bring
it into the new `http.client` package.

See gh-36266
2024-10-25 02:45:35 -07:00
..
2024-10-18 10:49:15 -07:00
2024-10-18 10:49:15 -07:00
2024-10-21 13:23:42 +02:00