> + @ResponseParser(ServerApi.ServerParser.class)
> + @Produces("application/json")
> + Server update(@PathParam("serverId") String serverId,
> @BinderParam(BindToJsonPayload.class) Server.UpdateServer server);
> +
> + @Named("server:Status:update")
> + @PUT
> + @Path("/{serverId}/status/action")
> + @ResponseParser(ServerApi.ServerParser.class)
> + @Produces("application/json")
> + Server updateStatus(@PathParam("serverId") String serverId,
> @BinderParam(BindToJsonPayload.class) Server.UpdateStatus server);
> +
> + @Named("server:delete")
> + @DELETE
> + @Path("/{serverId}")
> + @ResponseParser(ServerApi.ServerParser.class)
> + @MapBinder(BindToJsonPayload.class)
Then replace it by a `@Produces` annotation. It is the way to explicitly
configure the value of the content-type header.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68702439