Example #1
0
 @GET
 @Path("_state")
 @Produces(MediaType.APPLICATION_JSON)
 public Map<String, Object> getState() {
   Map<String, Object> result = new HashMap<>();
   result.put("states", flotoService.getContainerStates());
   return result;
 }