As part of httpclient development, I find myself writing these helper
utilities to release resources ( HttpClient / HttpEntity ) etc , very
similar to IOUtils , from commons.io to release resources , that closes
'quietly' .


o.a.h.utils.HttpClientUtils
  closeQuietly(HttpClient)
and closeQuietly(HttpResponse response)

https://issues.apache.org/jira/browse/HTTPCLIENT-1159 .

+ some test cases as well.

Let me know your thoughts on the same.

--
  Karthik.

Reply via email to