Announcement: Apache 5 HTTP client is now Generally Available #6658
Pinned
debora-ito
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We're excited to announce the General Availability of the new Apache 5 HTTP Client for the AWS SDK for Java 2.x.
Released in Java SDK
v2.41.0, this new Apache HttpClient 5.x-based client brings key improvements like:Getting Started
To get started, first add the new
apache5-clientdependency to your project:Then, configure any AWS service client to use the new AWS SDK Apache 5 HTTP client:
If you wish to customize the settings, you can use the Apache5HttpClient.builder:
Migrate from Apache 4.5.x
If you’re currently using the default Apache HTTP Client (4.5.x), migration is straightforward – add the new dependency and update your client configuration with an Apache 5 HTTP client as shown above. The API remains consistent with other HTTP client implementations in the SDK. Note that like the existing Apache 4.5.x HTTP client, this implementation supports synchronous service clients only.
Feedback
We'd love to hear your feedback. If you have questions, find a bug or have a feature request for the client to better suit your needs, please reach out to us by creating a GitHub issue.
Beta Was this translation helpful? Give feedback.
All reactions