You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project and the author are both active no longer.
It is recommeded to use java.net.http.HttpClient with JDK11 or higher.
public static final HttpClient HTTP_CLIENT = HttpClient.newBuilder()
.cookieHandler(new CookieManager())
// If you are using JDK21 it is recommeded to use virtual thread.
.executor(Executors.newCachedThreadPool(Thread.ofVirtual().name("HttpClient-v", 1).factory()))
.build();