CHJani / google-api-java-client

Automatically exported from code.google.com/p/google-api-java-client
0 stars 0 forks source link

multipart/mixed content type for batching Google API requests #308

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
External references, such as a standards document, or specification?

http://en.wikipedia.org/wiki/MIME#Mixed

http://javadoc.google-http-java-client.googlecode.com/hg/1.5.0-beta/com/google/a
pi/client/http/MultipartRelatedContent.html

Java environments (e.g. Java 6, Android 2.3, App Engine, or All)?

All

Please describe the feature requested.

Google APIs support batching requests by sending a multipart/mixed message to 
www.googelapis.com/batch that includes all of the independent requests you want 
to make.  This isn't documented yet, but it should already work.

Note that there is already a class MultipartRelatedContent for 
multipart/related, so we will likely want to share some of those implementation 
details.

We also need to figure what effect -- if any -- this will have on our generated 
libraries.

Original issue reported on code.google.com by yan...@google.com on 30 Sep 2011 at 6:46

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 28 Oct 2011 at 6:20

GoogleCodeExporter commented 9 years ago

Original comment by rmis...@google.com on 30 Nov 2011 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by yan...@google.com on 27 Mar 2012 at 2:08

GoogleCodeExporter commented 9 years ago
http://codereview.appspot.com/6121048/
http://codereview.appspot.com/5539055/

Original comment by rmis...@google.com on 25 Apr 2012 at 12:48

GoogleCodeExporter commented 9 years ago
http://codereview.appspot.com/6210054/

Original comment by rmis...@google.com on 14 May 2012 at 4:09

GoogleCodeExporter commented 9 years ago
Added a queue method in the generated libraries.

Original comment by rmis...@google.com on 14 May 2012 at 9:21