Skip to content

[Proposal] HTTP/2 Client APIs #74

Description

@joshaustintech

Request Issue

#8

Website Section

Home --> Tutorials --> HTTP Client

Proposal Details

  • Why this API and not other HTTP clients?
    • Lightweight
    • No dependencies
  • Fetching recipe data from TheMealDB
    • Building an HttpClient
    • Building an HttpRequest
    • Getting an HttpResponse
      • Method 1: synchronous
      • Method 2: asynchronous

Author References

Activity

  1. joshaustintech commented on Apr 2, 2024

    @joshaustintech
    Author

    Hi @carimura, @nipafx, I'm new to this process. Anything I you need from me?

  2. carimura commented on Apr 3, 2024

    @carimura
    Contributor

    Thanks for the submission and sorry for delay, I've been on paternity leave. Looks straightforward. "Why this API" seems good but I would avoid going too far into the "why not other HTTP clients". The rest seems fun.

    Thoughts @nipafx @JosePaumard ?

  3. joshaustintech commented on Apr 5, 2024

    @joshaustintech
    Author

    @carimura congrats on the new arrival!

  4. nipafx commented on Apr 15, 2024

    @nipafx
    Contributor

    Hey @joshaustintech , thanks for the proposal. It looks good! Some comments:

    • The website section should be https://dev.java/learn/ -> Mastering the API
    • I recommend to start with the tutorial (your second bullet point) and come to reasons for using this API (your first bullet point) later - this way the article starts with what people are most likely to be searching for.
    • When discussing the synchronous approach, please bring up virtual threads and link to the respective article.
    • Let's not use MealDB. I'd have to take a closer look at the website to verify that it can feature in our tutorials. Instead, let's use dev.java or inside.java.
    • In case you need inspiration, feel free to check the two posts I wrote on this API: 1, 2

    Feel free to open a PR once you've got something to review. Note that I'll be out of office unitl early May, though, so no need to rush. 😉

  5. joshaustintech commented on Apr 15, 2024

    @joshaustintech
    Author

    Sounds great. Thanks @nipafx. 😎

  6. carimura commented on Apr 26, 2024

    @carimura
    Contributor

    Hi @joshaustintech just going through open issues -- did you want to open a PR for this? We are happy to review as soon as that's in. and thanks!

  7. joshaustintech commented on Apr 26, 2024

    @joshaustintech
    Author

    Yes, I would love to open a PR soon as I have the content ready in the next few weeks.

  8. joshaustintech commented on Jun 20, 2024

    @joshaustintech
    Author

    Thank you all for your patience, still planning to open a PR for this soon.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions