java - Stream multiple files over HttpUrlConnection -


my application need transfer multiple files http server (by opening outputstream httpurlconnection) avoid overhead of connection establishment use 1 connection only. feasible?

note: data created in real time cannot add them 1 archive file , transfer 1 shot.

thanks advices!

you're over-optimizing. httpurlconnection tcp connection pooling behind scenes. use new url, httpurlconnection, outputstream, etc., per file.


Comments

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -