public interface ResourceDigestSource
AssetServiceto authenticate requests (you are not
allowed access to a resource unless you can provide the correct digest value).| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDigestForResource(java.lang.String resourcePath)
Calculates the DIGEST checksum for a classpath resource.
|
java.lang.String getDigestForResource(java.lang.String resourcePath)
resourcePath - the classpath resource, which should start with a leading slash.ApplicationRuntimeException - if the resource does not exist, or there is an error calculating the checksum.