class CacheResource {

    @DELETE
    public Response deleteCache() {
        LOG.debug("DELETE Cache {}" + cache);
        net.sf.ehcache.Cache ehcache = MANAGER.getCache(cache);
        Response response;
        if (ehcache == null) {
            throw new NotFoundException("Cache not found " + cache);
        } else {
            CacheManager.getInstance().removeCache(cache);
            response = Response.ok().build();
        }
        return response;
    }

      CacheResource(UriInfo uriInfo, Request request, String cache);

}