Add StreamingContent interface #184
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 December 21, 2012 06:10:45
External references, such as a standards document, or specification? http://javadoc.google-http-java-client.googlecode.com/hg/1.12.0-beta/com/google/api/client/http/HttpContent.html#writeTo(java.io.OutputStream) Java environments (e.g. Java 6, Android 2.3, App Engine, or All)? All Please describe the feature requested. Extract the writeTo(OutputStream) method from HttpContent into a separate interface WriteToOutputStream which can go in the util package. Then, decouple LowLevelHttpRequest from HttpContent and add getContentLength(), getContentType(), getContentEncoding(), and getWriteToOutputStream() methods to it. That will simplify the implementation of classes that extend LowLevelHttpRequest. More importantly, it gives us more flexibility by decoupling the interface that HttpRequest uses and the interface that LowLevelHttpRequest uses.
Original issue: http://code.google.com/p/google-http-java-client/issues/detail?id=184
The text was updated successfully, but these errors were encountered: