hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karthik K <oss....@gmail.com>
Subject Resource Release Helper methods - HTTPCLIENT-1159
Date Wed, 18 Jan 2012 19:56:10 GMT
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.

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