How can I utilize Connection: Keep-Alive option, re-use connection and
download multiple objects from the same server? HTTP connection
consists of opening a socket, sending request and then readign
response. For Keep-Alive option open the socket connection needs to be
done only once. However I could not find in Android Java classes how
this can be accomplished. URL.openConnection returns new instance of
HttpURLConnection implementation for every request so
HttpURLConnection cannot be cashed for reusing on multiple requests to
the same server, URL object is also new for each request and also
cannot be reused.

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

Reply via email to