Java 11 HttpClient and cookies

The HTTP Client was introduced in Java 11. It can be used to request HTTP resources over the network. It supports HTTP/1.1 and HTTP/2, both synchronous and asynchronous programming models, handles request and response bodies as reactive-streams, and follows the familiar builder pattern.https://openjdk.java.net/groups/net/httpclient/intro.htmlRecently we had a requirement of setting an authentication session cookie and we hadContinueContinue reading “Java 11 HttpClient and cookies”