Skip to content

Add Maven dependency for JDK HttpClient; update versions #1441

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 23, 2025

Conversation

christarczon
Copy link
Contributor

I had trouble finding the artifact for the JDK HttpClient which I think belongs in this doc. I also updated the versions of the others to be current.

Copy link
Contributor

@christarczon : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

Copy link
Contributor

Learn Build status updates of commit 28a9bd9:

✅ Validation status: passed

File Status Preview URL Details
articles/java/sdk/http-client-pipeline.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@v-dirichards
Copy link
Contributor

@KarlErickson

Can you review the proposed changes?

Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged tracking label for the PR review team label Apr 21, 2025
@KarlErickson
Copy link
Contributor

@christarczon thanks for the pull request!
@srnagar can you please validate this update? Thanks!

<version>1.12.10</version>
</dependency>

<!-- JDK 11 HttpClient -->
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The JDK HttpClient was introduced in 11 but due to certain limitations with how HTTP headers are handled in JDK 11, we recommend using this library only with JDK 12+. So, in the comment, it would be better to mention that this is suitable only for JDK 12+ applications.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's an existing note above that it's only supported with 12+, I was matching another comment below. I could drop the 11 and keep it simply JDK HttpClient in both cases.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That works. We can simply drop the version from this comment and the note above should be sufficient.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@christarczon If you need help making this edit, please let us know.

Copy link
Contributor

Learn Build status updates of commit e0690cb:

✅ Validation status: passed

File Status Preview URL Details
articles/java/sdk/http-client-pipeline.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@christarczon
Copy link
Contributor Author

@microsoft-github-policy-service agree

@KarlErickson
Copy link
Contributor

Thanks, @christarczon !

@KarlErickson KarlErickson merged commit a891a1c into MicrosoftDocs:main Apr 23, 2025
2 checks passed
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.

4 participants