Topic subject: Multipart HTTP forms submitter - With Progress Information
Posted: Sat Nov 08, 2008 1:04 am
Joined: Tue Nov 06, 2007 2:17 pm Posts: 847 Has thanked: 0 time Have thanks: 1 time
Project Name:
Multipart HTTP forms submitter - With Progress Information Programmer:Tomer Petel Type:Web Technology:Java IDE:NONE Description:In one of my projects, I had to be able to submit a data to the Web server using HTTP. The issue was that this data was multipart – that is, a combination of binary data and text data. So a simple GET or POST call would not have been sufficient. To my rescue, came Vlad Patryshev’s class: ClientHTTPRequest. This highly versatile class allows you to easily submit multipart data via HTTP. However it was missing one thing: progress information. That is, when sending a large file via HTTP, the users would need to know how much of the file was already sent and how much more still remains to be sent. Therefore, I extended Vlad’s class to provide upload progress information.