@ RequestMapping ( value = STATUS_URL , method = RequestMethod . GET ) public ResponseEntity < StatusMonitor > status ( ) { return new ResponseEntity <> ( StatusMonitor . getCurrentStatus ( ) , HttpStatus . OK ) ; }
Uses Crafter Commons Status Monitor POJO to get current System status .