[jclouds/jclouds] JCLOUDS-769: putBlob OutputStream straw man (#1129)

2017-08-08 Thread Andrew Gaul
This allows clients to write their payloads via an OutputStream instead of providing an InputStream during construction. This can avoid buffering in some situations although one must still provide the Content-Length. You can view, comment on, or merge this pull request online at: https://github

Re: [jclouds/jclouds] JCLOUDS-769: allow for streaming PUTs (#1129)

2017-08-08 Thread Andrew Gaul
This demonstrates one approach to allowing streaming PUTs of data. This is useful when clients want to drive the interaction themselves, e.g., interacting with async frameworks, constructing/transforming input on the fly. This functionality maps poorly onto the existing request-response model.