Closed GoogleCodeExporter closed 9 years ago
We don't have a plan for adding async support to this library at the moment. I
am intending to close this as a low priority feature request, unless there's a
strong need in the future.
HttpRequest.executeAsync() is a semi-async implementation, i.e., you have to
poll the status of the future, instead of being called back. In terms of App
Engine, there isn't a special App Engine client in any way. There's an
HttpTransport that's AppEngine specific, but the client you use on AppEngine
extends the same AbstractGoogleJsonClient, which has access to
HttpRequest.executeAsync(). A small trick is to call
AbstractGoogleClientRequest.buildHttpRequest().executeAsync().
Original comment by wonder...@google.com
on 30 Dec 2014 at 4:25
#1 - will calling AbstractGoogleClientRequest.buildHttpRequest().executeAsync()
while using the Appengine Transport use appengine's underlying
urlfetch.getAsync() or does
AbstractGoogleClientRequest.buildHttpRequest().executeAsync() just start a new
thread?
Original comment by al...@streak.com
on 30 Dec 2014 at 5:56
It just starts a new thread and returns a Future.
Original comment by wonder...@google.com
on 30 Dec 2014 at 6:52
Original issue reported on code.google.com by
jlo...@google.com
on 14 Apr 2014 at 6:39