// Fetch the checksum directly from the manager and return it. If we
// cannot find the factory to handle the content assets, then return
// an error (this should never happen).
ChecksumManager checksumManager = ChecksumManager.getChecksumManager();
ContentAssetDescriptor cad = new ContentAssetDescriptor(contentRoot, assetPath);
ChecksumFactory checksumFactory = checksumManager.getChecksumFactory(cad);
if (checksumFactory == null) {
logger.warning("Unable to find checksum factory for " + cad);
return Response.noContent().build();
}