Endpoint getStatistics = new Endpoint("/", Method.GET, "stats");
getStatistics.setDescription("Returns cache statistics");
getStatistics.addFormat(Format.xml());
getStatistics.addStatus(ok("statistics have been compiled and sent back to the client"));
getStatistics.addStatus(notFound("the site does not exist"));
getStatistics.addStatus(serviceUnavailable("the site is temporarily offline"));
getStatistics.setTestForm(new TestForm());
docs.addEndpoint(Endpoint.Type.READ, getStatistics);
// PUT /
Endpoint startCacheEndpoint = new Endpoint("/", Method.PUT, "start");