> +    @ResponseParser(ServerApi.ServerParser.class)
> +    Server addHdd(@PathParam("serverId") String serverId, 
> @BinderParam(BindToJsonPayload.class) Hdd.CreateHddList hdds);
> +
> +    @Named("servers:hardware:hdds:get")
> +    @GET
> +    @Path("/{serverId}/hardware/hdds/{hddId}")
> +    @ResponseParser(ServerApi.HddParser.class)
> +    @Fallback(Fallbacks.NullOnNotFoundOr404.class)
> +    Hdd getHdd(@PathParam("serverId") String serverId, @PathParam("hddId") 
> String hddId);
> +
> +    @Named("server:update")
> +    @PUT
> +    @Path("/{serverId}/hardware/hdds/{hddId}")
> +    @MapBinder(BindToJsonPayload.class)
> +    @ResponseParser(ServerApi.ServerParser.class)
> +    @Fallback(Fallbacks.NullOnNotFoundOr404.class)

Don't add 404 fallbacks to post/put methods.

---
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#r68669433

Reply via email to