You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RDF4J previously used Apache HttpComponents 4 (AHC4) as its sole HTTP client, with AHC4 types directly exposed in the public API. In 6.0.0, this dependency has been replaced by a new HTTP-client-agnostic facade. Apache HC4 is no longer on the classpath for the general use of RDF4J.
26
+
RDF4J previously used Apache HttpComponents 4 (AHC4) as its sole HTTP client, with AHC4 types directly exposed in the public API. In 6.0.0, this dependency has been replaced by a new HTTP-client-agnostic facade. Apache HC4 is no longer exposed through the `rdf4j-http-client` public API or required as a transitive dependency of `rdf4j-http-client` for standard use.
27
27
28
28
### User-facing changes
29
29
@@ -32,7 +32,7 @@ RDF4J previously used Apache HttpComponents 4 (AHC4) as its sole HTTP client, wi
32
32
Two HTTP client backends are now available:
33
33
34
34
-**Apache HttpComponents 5** (`rdf4j-http-client-apache5`) — the default backend when on the classpath.
35
-
-**JDK built-in HTTP client** (`rdf4j-http-client-jdk`) — a zero-dependency alternative using `java.net.http.HttpClient`(JDK 11+).
35
+
-**JDK built-in HTTP client** (`rdf4j-http-client-jdk`) — a zero-dependency alternative using the JDK 11+ `java.net.http.HttpClient`API; RDF4J 6.0.0 itself requires Java 25.
36
36
37
37
To select a specific backend, set the system property `rdf4j.http.client.factory` to either `apache5` or `jdk`:
38
38
@@ -136,7 +136,3 @@ public class MyFactory extends ApacheHC5RDF4JHttpClientFactory {
136
136
}
137
137
}
138
138
```
139
-
140
-
## Acknowledgements
141
-
142
-
This milestone was made possible by contributions from ...
0 commit comments