Listened to the recent #InsideJava podcast over the weekend on networking in the JDK: reactive HTTP/2, refactoring for Loom, Unix domain sockets, HTTP/3, etc. Here's the TLDL. 🧵 (To listen: inside.java/2021/04/12/pod… and on many platforms, e.g. open.spotify.com/episode/0esLDs…) 1/10
1
19
60
0
12
Starts off with a recap of URLConnection: * around since 1.1 * handles all kinds of URLs * first use case was to implement a browser Downsides: * blocking * undocumented behaviors * too many abstractions * too little HTTP-specific options, like proxying and redirection 2/10