executeAsInputStream in JsonHttpRequest and JsonHttpClient #76
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
From yan...@google.com on March 23, 2012 06:15:22
External references, such as a standards document, or specification? http://javadoc.google-http-java-client.googlecode.com/hg/1.7.0-beta/com/google/api/client/http/json/JsonHttpRequest.html http://javadoc.google-http-java-client.googlecode.com/hg/1.7.0-beta/com/google/api/client/http/json/JsonHttpClient.html Java environments (e.g. Java 6, Android 2.3, App Engine, or All)? All Please describe the feature requested. Request is to add an executeAsInputStream method that simply does executeUnparsed().getContent(). This is convenient in some use cases if all you need is the InputStream, e.g. when downloading media. Make sure the JavaDoc clearly indicates that it is the caller's responsibility to close the stream. While we're doing that, we should probably also add that comment to executeUnparsed.
Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=76
The text was updated successfully, but these errors were encountered: