Class TaskController


  • @RestController
    @RequestMapping("/api/task/v1")
    @CrossOrigin(origins="*")
    public class TaskController
    extends Object
    • Constructor Detail

    • Method Detail

      • allTasks

        @PreAuthorize("hasAuthority(\'COMPONENT_READ\')")
        @GetMapping(produces="application/json")
        public List<TaskDto> allTasks()
      • byTaskId

        @PreAuthorize("hasAuthority(\'COMPONENT_READ\')")
        @GetMapping(path="/{taskId}",
                    produces="application/json")
        public TaskDto byTaskId​(@PathVariable
                                String taskId)