A quick look at Java 11's HttpClient

Anthony Bruno on January 16, 2019

This article was originally posted on my blog Java 11 was released in September 2018 and is the first Long-Term-Support version after Java 8. One ... [Read Full]
markdown guide

Nice article!

I have to say though; the more I learn about Java the more I love JS:

const res = await fetch("http://anthonybruno.com.au/last-update");
const text = res.text();

Thanks for reading :)

Unfourtantly, Java does have a verbosity problem, especially compared to a dynamic language like Javascript! fetch does have a great API. It's much nicer than the older XMLHttpRequest.

code of conduct - report abuse