Skip to content

988: Replaced all of the Apache HttpClients with Java's java.net.http#1003

Merged
iluwatar merged 4 commits into
iluwatar:masterfrom
oconnelc:988
Oct 15, 2019
Merged

988: Replaced all of the Apache HttpClients with Java's java.net.http#1003
iluwatar merged 4 commits into
iluwatar:masterfrom
oconnelc:988

Conversation

@oconnelc
Copy link
Copy Markdown
Contributor

Replaced all of the Apache HttpClients with Java's java.net.http

This is to address ticket #988. As of Java 11 the HTTP Client provides mechanism to perform HTTP requests without the need of an external, third-party library.

Pull request description

All pom.xml files that had org.apache.httpcomponents in the dependencies no longer have this as a dependency.

All Java files that were using any of the components of the org.apache.httpcomponents.httpClient have been modified to have equivalent code using java.net.http.

@oconnelc oconnelc changed the title 988 988: Replaced all of the Apache HttpClients with Java's java.net.http Oct 14, 2019
@iluwatar iluwatar self-assigned this Oct 15, 2019
@iluwatar iluwatar added this to the 1.22.0 milestone Oct 15, 2019
@iluwatar iluwatar merged commit e6c71b6 into iluwatar:master Oct 15, 2019
@iluwatar
Copy link
Copy Markdown
Owner

Thanks @oconnelc, this is a good improvement. Always nice to get along with lesser dependencies.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants