Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add StreamingContent interface #184

Closed
wonderfly opened this issue Jan 9, 2015 · 5 comments
Closed

Add StreamingContent interface #184

wonderfly opened this issue Jan 9, 2015 · 5 comments
Assignees
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.

Comments

@wonderfly
Copy link
Contributor

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

@wonderfly wonderfly added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. imported priority: p2 Moderately-important priority. Fix may not be included in next release. labels Jan 9, 2015
@wonderfly wonderfly self-assigned this Jan 9, 2015
@wonderfly
Copy link
Contributor Author

From yan...@google.com on December 21, 2012 08:17:42

Summary: Add StreamingContent interface (was: WriteToOutputStream)

@wonderfly
Copy link
Contributor Author

From yan...@google.com on December 21, 2012 08:18:17

https://codereview.appspot.com/6999046

Status: Started

@wonderfly
Copy link
Contributor Author

From yan...@google.com on December 27, 2012 09:38:08

https://codereview.appspot.com/6999046/

Status: Fixed

@wonderfly
Copy link
Contributor Author

From yincrash on January 22, 2013 21:36:28

ooo, would really like this for my current project. any target date set for 1.14?

@wonderfly
Copy link
Contributor Author

From yan...@google.com on January 23, 2013 03:26:00

in about 3 weeks

clundin25 pushed a commit to clundin25/google-http-java-client that referenced this issue Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.
Projects
None yet
Development

No branches or pull requests

1 participant