> + */
> + @Named("GetBlobMetadata")
> + @GET
> + @ResponseParser(ParseBlobMetadataFromJoyentResponse.class)
> + @Fallback(Fallbacks.NullOnNotFoundOr404.class)
> + @Path("/{container}/{name}")
> + public ListenableFuture<BlobMetadata>
> getBlobMetadata(@PathParam("container") String container,
> + @PathParam("name")
> String name);
> +
> + /**
> + * Create new folder in the rood directory.
> + */
> + @Named("CreateContainer")
> + @PUT
> + @Path("{container}")
> + @Headers(keys = {"Content-Type"}, values = {"application/json;
> type=directory"})
If possible, prefer using the more idiomatic `@Produces` annotation. (I'm not
sure if it will work with the type parameter, but worth trying :))
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/188/files#r7139260