Responsible for determining which classpath resources require checksums, and for generating
checksums for such resources.
See Also:ClasspathResource See Also:ClasspathAssetFactory
generateDigest(URL url) Reads the content of a URL (presumably, for a resource on the classpath) and generates a
digest of its content.
boolean
requiresDigest(String path) Examines the path (typically, the file name extension at the end of the path) to determine if
a checksum is required for the path.
Reads the content of a URL (presumably, for a resource on the classpath) and generates a
digest of its content. This digest will be incorporated into the URL provided to the
client, to verify that the client has been "granted" access to this resource. This is only
used for resources where
ResourceDigestGenerator.requiresDigest(String) is true.
Parameters: url - the digest for the resource
Examines the path (typically, the file name extension at the end of the path) to determine if
a checksum is required for the path. The path is
Resource style, without a leading
slash.