mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-06 01:09:02 +00:00
Merge branch '3.4.x' into 3.5.x
See gh-47940
This commit is contained in:
+1
-1
@@ -118,7 +118,7 @@ public final class HttpComponentsClientHttpRequestFactoryBuilder
|
||||
* {@link org.apache.hc.client5.http.config.ConnectionConfig.Builder}.
|
||||
* @param connectionConfigCustomizer the customizer to apply
|
||||
* @return a new {@link HttpComponentsHttpClientBuilder} instance
|
||||
* @since 3.5.8
|
||||
* @since 3.4.12
|
||||
*/
|
||||
public HttpComponentsClientHttpRequestFactoryBuilder withConnectionConfigCustomizer(
|
||||
Consumer<ConnectionConfig.Builder> connectionConfigCustomizer) {
|
||||
|
||||
+1
-1
@@ -132,7 +132,7 @@ public final class HttpComponentsHttpClientBuilder {
|
||||
Consumer<ConnectionConfig.Builder> connectionConfigCustomizer) {
|
||||
Assert.notNull(connectionConfigCustomizer, "'connectionConfigCustomizer' must not be null");
|
||||
return new HttpComponentsHttpClientBuilder(this.customizer, this.connectionManagerCustomizer,
|
||||
this.socketConfigCustomizer.andThen(this.socketConfigCustomizer), this.connectionConfigCustomizer,
|
||||
this.socketConfigCustomizer, this.connectionConfigCustomizer.andThen(connectionConfigCustomizer),
|
||||
this.defaultRequestConfigCustomizer, this.tlsSocketStrategyFactory);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user