RequestConfig ignoreCookiesRequestConfig = RequestConfig.custom()
.setCookieSpec(CookieSpecs.IGNORE_COOKIES).build();
... //Abbreviation
//Generate HTTPClient
client = HttpClients.custom() //
.setDefaultRequestConfig(ignoreCookiesRequestConfig) //
.setDefaultCredentialsProvider(credentialsProvider) //
.setConnectionManager(mgr) //
.build(); //