response.setEntity(result.getEntity());
    protected void handleDelete(Resource target, Request request,            Response response) {        Result result = target.delete();        response.setStatus(result.getStatus());        response.setRedirectRef(result.getRedirectRef());    }