andreaturli commented on this pull request.


> +           protected List<Object> getArgs(GeneratedHttpRequest request) {
+              return request.getCaller().get().getArgs();
+           }
+
+            @Override
+            protected IterableWithMarker<Device> 
fetchPageUsingOptions(ListOptions options, Optional<Object> arg0) {
+                return api.deviceApi((String) arg0.get()).list(options);
+            }
+        }
+    }
+
+    @Named("device:create")
+    @POST
+    @Produces(MediaType.APPLICATION_JSON)
+    @MapBinder(BindToJsonPayload.class)
+    @ResponseParser(URIParser.class)

much better, will test that

-- 
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/345

Reply via email to