@GET @Path("healthmonitor") public Response stubHealthMonitor() { HealthMonitor hm; hm = new HealthMonitor(); hm.setAttemptsBeforeDeactivation(10); hm.setBodyRegex(".*"); hm.setDelay(60); hm.setId(64); hm.setPath("/"); hm.setStatusRegex(".*"); hm.setTimeout(100); hm.setType(HealthMonitorType.HTTP); return Response.status(200).entity(hm).build(); }