Skip to content

Commit 7897df3

Browse files
committed
Merge branch '4.1.x' into 4.2.x
2 parents 64e44ce + 99e710d commit 7897df3

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

docs/modules/ROOT/pages/spring-cloud-commons/common-abstractions.adoc

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -708,16 +708,6 @@ spring:
708708

709709
See https://docs.oracle.com/javase/8/docs/api/java/net/Inet4Address.html#isSiteLocalAddress--[Inet4Address.html.isSiteLocalAddress()] for more details about what constitutes a site-local address.
710710

711-
[[http-clients]]
712-
== HTTP Client Factories
713-
714-
Spring Cloud Commons provides beans for creating both Apache HTTP clients (`ApacheHttpClientFactory`) and OK HTTP clients (`OkHttpClientFactory`).
715-
The `OkHttpClientFactory` bean is created only if the OK HTTP jar is on the classpath.
716-
In addition, Spring Cloud Commons provides beans for creating the connection managers used by both clients: `ApacheHttpClientConnectionManagerFactory` for the Apache HTTP client and `OkHttpClientConnectionPoolFactory` for the OK HTTP client.
717-
If you would like to customize how the HTTP clients are created in downstream projects, you can provide your own implementation of these beans.
718-
In addition, if you provide a bean of type `HttpClientBuilder` or `OkHttpClient.Builder`, the default factories use these builders as the basis for the builders returned to downstream projects.
719-
You can also disable the creation of these beans by setting `spring.cloud.httpclientfactories.apache.enabled` or `spring.cloud.httpclientfactories.ok.enabled` to `false`.
720-
721711
[[enabled-features]]
722712
== Enabled Features
723713

0 commit comments

Comments
 (0)