class StatusController implements Controller {

    public ModelAndView handleRequest(HttpServletRequest req,
            HttpServletResponse resp) throws Exception {
        Status currentStatus = monitoredService.getServiceStatus().getStatus();
        setResponseCode(currentStatus, resp);
        setAppropriateWarningHeaders(resp, currentStatus);
        setCachingHeaders(resp);
        writeOutCurrentStatusInResponseBody(resp, currentStatus);
        return null;
    }

    public  StatusController(MonitoredService monitoredService);

}