public class ChecksumPath extends java.lang.Object
AssetRequestHandler
implementations
where the first folder in the extra path is actually a computed checksum of the resource's content.Modifier and Type | Field and Description |
---|---|
java.lang.String |
checksum |
java.lang.String |
resourcePath |
Constructor and Description |
---|
ChecksumPath(ResourceStreamer streamer,
java.lang.String baseFolder,
java.lang.String extraPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
stream(Resource resource)
If the resource exists and the checksum is correct, stream it to the client and return true.
|
public final java.lang.String checksum
public final java.lang.String resourcePath
public ChecksumPath(ResourceStreamer streamer, java.lang.String baseFolder, java.lang.String extraPath)
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.