danvega / rest-client-examples

13 stars 6 forks source link

Link for more detailed Overview on JDK HTTP clients #1

Open aDramaQueen opened 9 months ago

aDramaQueen commented 9 months ago

Hi,

since Youtube doesn't allow links in comments I have to do it this way...

There exists a nice Overview for all possible Properties you may use to control a JDK HTTP client via properties: https://docs.oracle.com/en/java/javase/21/docs/api/java.net.http/module-summary.html

Maybe you can add this to your video description, for other people to play around with.

KafkaProServerless commented 9 months ago

Upvote

danvega commented 9 months ago

Love that idea, thank you @aDramaQueen

The one I should have mentioned right away is for logging. I like to set the following property so I can see the request / response in development

-Djdk.httpclient.HttpClient.log=all

caobaoqi1029 commented 1 month ago

thank you