[
https://issues.apache.org/jira/browse/JCR-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konrad Windszus updated JCR-5122:
---------------------------------
Description:
Instead of Apache HTTP Client (in the outdated 4.5.x version) we should
leverage the Java-built-in HTTP Client:
https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.html
See also https://hc.apache.org/status.html
bq. Users of HttpClient 4.x are strongly encouraged to migrate to HttpClient 5.x
Such a change cannot be backwards-compatible as the exposed API (e.g.
https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/BaseDavRequest.java)
leverages Apache HTTP Components classes.
was:
Instead of Apache HTTP Client (in the outdated 4.5.x version) we should
leverage the Java-built-in HTTP Client:
https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.html
See also https://hc.apache.org/status.html
bq. Users of HttpClient 4.x are strongly encouraged to migrate to HttpClient 5.x
> Get rid of Apache HTTP Client dependency
> ----------------------------------------
>
> Key: JCR-5122
> URL: https://issues.apache.org/jira/browse/JCR-5122
> Project: Jackrabbit Content Repository
> Issue Type: Improvement
> Components: jackrabbit-spi2dav, jackrabbit-webdav
> Reporter: Konrad Windszus
> Priority: Major
>
> Instead of Apache HTTP Client (in the outdated 4.5.x version) we should
> leverage the Java-built-in HTTP Client:
> https://docs.oracle.com/en/java/javase/11/docs/api/java.net.http/java/net/http/HttpClient.html
> See also https://hc.apache.org/status.html
> bq. Users of HttpClient 4.x are strongly encouraged to migrate to HttpClient
> 5.x
> Such a change cannot be backwards-compatible as the exposed API (e.g.
> https://github.com/apache/jackrabbit/blob/trunk/jackrabbit-webdav/src/main/java/org/apache/jackrabbit/webdav/client/methods/BaseDavRequest.java)
> leverages Apache HTTP Components classes.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)