Skip to content

Commit 99e710d

Browse files
authored
Removed outdated HTTP Clients documentation
Support was removed in #1171 Signed-off-by: Ryan Baxter <ryan.baxter@broadcom.com>
1 parent 383d067 commit 99e710d

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
@@ -610,16 +610,6 @@ spring:
610610

611611
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.
612612

613-
[[http-clients]]
614-
== HTTP Client Factories
615-
616-
Spring Cloud Commons provides beans for creating both Apache HTTP clients (`ApacheHttpClientFactory`) and OK HTTP clients (`OkHttpClientFactory`).
617-
The `OkHttpClientFactory` bean is created only if the OK HTTP jar is on the classpath.
618-
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.
619-
If you would like to customize how the HTTP clients are created in downstream projects, you can provide your own implementation of these beans.
620-
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.
621-
You can also disable the creation of these beans by setting `spring.cloud.httpclientfactories.apache.enabled` or `spring.cloud.httpclientfactories.ok.enabled` to `false`.
622-
623613
[[enabled-features]]
624614
== Enabled Features
625615

0 commit comments

Comments
 (0)