SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Expose UploadData in com.google.gdata.client.media.ResumableGDataFileUploader #397

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
We need to upload large files from App Engine to Google Docs. In App Engine, 
the UrlFetch limits the maximum size of HTTP request to 5 MB, so we need to use 
the resumable upload API. Unfortunately the ResumableGDataFileUploader only 
supports MediaFileSource objects as a source, which is useless in App Engine 
since there are no files. 
The ResumableGDataFileUploader could be made much more generic if it was 
accepting an arbitrary UploadData object instead of a MediaFileSource, just 
like the ResumableHttpFileUploader.Builder.setData(UploadData) does. 

Original issue reported on code.google.com by stephane...@revevol.eu on 6 Aug 2012 at 4:11

GoogleCodeExporter commented 9 years ago
The issue was entered as a "defect" but obviously I meant it as a "enhancement 
suggestion".... 

Original comment by stephane...@revevol.eu on 6 Aug 2012 at 4:12