Hi geeks!

As using the network package which apache provides, we usually do :
HttpResponse resp = httpClient.execute(httpRequest);

When I retrieve the HttpEntity object of the response, open the
InputStream and extract the data in it, the HttpResponse object
becomes unusable. If I try to do the thing again, exception occurs.

Here I wish to reuse the HttpResponse, mostly for caching. But the
HttpResponse object returned is type interface, I cannot call clone.

Is there any way I can reuse the HttpResponse ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to