Exemplo n.º 1
0
 // task API
 @RequestMapping(value = "/tasks", method = RequestMethod.GET, produces = "application/json")
 @ResponseBody
 public List<TaskRead> getTasks() {
   return taskManager.getTasks();
 }