> +    *           Unprefixed/unescaped metadata, such as Content-Disposition
> +    *
> +    * @return {@code true} if the object was successfully copied, {@code 
> false} if not.
> +    *
> +    * @throws org.jclouds.openstack.swift.v1.CopyObjectException if the 
> source or destination container do not exist.
> +    */
> +   @Named("object:copy")
> +   @PUT
> +   @Path("/{destinationObject}")
> +   @Headers(keys = OBJECT_COPY_FROM, values = 
> "/{sourceContainer}/{sourceObject}")
> +   @Fallback(FalseOnContainerNotFound.class)
> +   boolean copy(@PathParam("destinationObject") String destinationObject,
> +         @PathParam("sourceContainer") String sourceContainer,
> +         @PathParam("sourceObject") String sourceObject,
> +         @BinderParam(BindObjectMetadataToHeaders.class) Map<String, String> 
> userMetadata,
> +         @BinderParam(BindHeaderMetadataToHeaders.class) Map<String, String> 
> objectMetadata);

A very good point. I will investigate.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/718/files#r27531355

Reply via email to