final String id = (String) request.getAttributes().get("id");
final ObjectId oid = ObjectId.valueOf(id);
GeoGIG geogig = ggit.get();
Repository repository = geogig.getRepository();
boolean blobExists = repository.blobExists(oid);
if (blobExists) {
ObjectResource objectResource = new ObjectResource(oid, geogig);
objectResource.init(getContext(), request, response);
return objectResource;
}