Skip to content

Commit 395d334

Browse files
Copilotdsmiley
andcommitted
Update README to reflect JDK 11 HttpClient migration
- Removed references to Apache HttpClient dependency - Updated documentation to state proxy is now dependency-free - Kept reference to previous Apache HttpClient versions for historical context Co-authored-by: dsmiley <377295+dsmiley@users.noreply.github.com>
1 parent ee6ec5b commit 395d334

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

README.md

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,8 @@ I suggest you use a well tested proxy instead of something non-tested that is pe
1818

1919
If you need something more sophisticated than there are some alternatives listed at the bottom of this page.
2020

21-
This proxy depends on [Apache HttpClient](http://hc.apache.org/httpcomponents-client-ga/), which offers another point of extension for this proxy.
22-
At some point I may write an alternative that uses the JDK and thus doesn't have any dependencies, which is desirable.
23-
In the meantime, you'll have to add the jar files for this and its dependencies:
24-
25-
+- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
26-
+- org.apache.httpcomponents:httpcore:jar:4.4.13:compile
27-
| +- commons-logging:commons-logging:jar:1.2:compile
28-
| \- commons-codec:commons-codec:jar:1.11:compile
29-
30-
This proxy supports HttpClient 4.5, and newer version too.
31-
If you need to support _older_ HttpClient versions:
32-
* use 1.8 version of this proxy for HttpClient versions 4.1 and 4.2
33-
* use 1.12 version of this proxy for HttpClient versions 4.3 and 4.4
21+
This proxy now uses the JDK 11 HttpClient and is dependency-free (aside from the servlet API).
22+
Previous versions used Apache HttpClient.
3423

3524
As of version 2.0 of the proxy, the proxy switched to the `jakarta servlet-api`, while nonetheless retaining support for the `javax servlet-api` version for those that need it. To use that, specify the `javax` classifier on the dependency declaration as follows:
3625
```xml

0 commit comments

Comments
 (0)