Relative Content

Tag Archive for javaspring-bootapache-httpclient-4.xapache-commons-httpclientapache-httpclient-5.x

Migrating from httpclient4 to httpclient5 – setSSLContext

We are trying to upgrade the httpclient from 4 to 5. As a part of the upgrade, we have changed the imports accordingly. But, the code uses Httpclientbuilder and sets the sslcontext. As per the documentation from apache, they have removed the setsslcontext from the Httpclientbuilder methods and I have not found any alternative.