hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mats Eklund <mats.ekl...@live.at>
Subject How replace the default HTTP URL handler in Java with one that uses the Apache HTTPClient?
Date Thu, 18 May 2017 09:49:17 GMT

I am thinking of replacing the default HTTP connection handler in my Java web applications
with one that uses Apache HTTPClient. The reason is that I want to leverage response caching
of outbound HTTP requests made from my web application. The requests are made via various
libraries, all using the standard java.net.URL class to access resources on the web.

Does the HTTP Components framework contain a ready to use solution for this, or are there
some guidelines available for how to best go about it. I guess what I am looking for could
be a common scenario! I found some possible directions here:



But maybe there is already a ready to use component available, that could be simply dropped
along with a configuration file for the caching behavior into the application's libraries

Thanks so much in advance for any advice!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message