public static WebClient buildWebClient(CookieManager manager) { WebClient webClient = buildWebClient(); webClient.setCookieManager(manager); return webClient; }