[
https://issues.apache.org/jira/browse/JCLOUDS-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849730#comment-13849730
]
ASF subversion and git services commented on JCLOUDS-410:
---------------------------------------------------------
Commit e48d4985ea01d7dc92b75a6fc8b4ce2d795e663c in branch refs/heads/master
from [~gaul]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=e48d498 ]
JCLOUDS-410. Add support for ByteSource Payloads
Also deprecate byte[], File, InputSupplier<InputStream>, and String
Payloads. Callers should instead provide a ByteSource via
ByteSource.wrap(byte[]) and Files.asByteSource(File)
> Convert InputSupplier<InputStream> methods to ByteSource
> --------------------------------------------------------
>
> Key: JCLOUDS-410
> URL: https://issues.apache.org/jira/browse/JCLOUDS-410
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-blobstore, jclouds-core
> Affects Versions: 1.7.0
> Reporter: Andrew Gaul
> Assignee: Andrew Gaul
> Fix For: 1.8.0
>
>
> ByteSource has convenience methods and avoids generics notational overhead.
> Guava is moving towards this:
>
> https://groups.google.com/forum/#!msg/guava-discuss/bChfnnXb9QA/xlmy2UzsmpsJ
> Note that ByteSource implements InputSupplier<InputStream> so we should
> retain source compatibility.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)