Package cronapi.rest

Class DashboardREST

java.lang.Object
cronapi.rest.DashboardREST

@RestController @RequestMapping("/api/rest") public class DashboardREST extends Object
  • Constructor Details

    • DashboardREST

      @Autowired public DashboardREST(DashboardService dashboardService)
  • Method Details

    • getReport

      @RequestMapping(value="/dashboard", method=POST, produces="application/json") public org.springframework.http.ResponseEntity<DashboardFront> getReport(@RequestBody DashboardFront dashboardFront)
    • getContentAsString

      @RequestMapping(value="/dashboard/contentasstring", method=POST, produces="text/plain") public org.springframework.http.ResponseEntity<String> getContentAsString(@RequestBody DashboardFront dashboardFront, jakarta.servlet.http.HttpServletResponse response)