jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] Profitbricks REST - Datacenter (#225)
Date Mon, 21 Dec 2015 12:31:49 GMT
> +import org.jclouds.json.Json;
> +import org.jclouds.rest.annotations.Fallback;
> +import org.jclouds.rest.annotations.MapBinder;
> +import org.jclouds.rest.annotations.PATCH;
> +import org.jclouds.rest.annotations.PayloadParam;
> +import org.jclouds.rest.annotations.ResponseParser;
> +import org.jclouds.rest.annotations.SelectJson;
> +import org.jclouds.rest.binders.BindToJsonPayload;
> +
> +@Path("/datacenters")
> +@RequestFilters(BasicAuthentication.class)
> +public interface DataCenterApi extends Closeable {
> +
> +   @Named("datacenter:list")
> +   @GET
> +   @Produces("application/vnd.profitbricks.resource+json")

Remove this annotation if this method is not sending this content-type, and apply the same
for all methods that do not generate a body.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/225/files#r48141402
Mime
View raw message