/** * Returns information of all closed alerts. * <p> * <i> Example URL: /alerts/closed</i> * </p> * * @return a list of {@link Alert} with all closed alerts. */ @RequestMapping(method = GET, value = "closed") @ResponseBody public List<Alert> getClosedAlerts() { return alertService.getClosedAlerts(); }