Class ChecksumPath
-
- org.apache.tapestry5.internal.services.assets.ChecksumPath
-
public class ChecksumPath extends
Utility used byAssetRequestHandler
implementations where the first folder in the extra path is actually a computed checksum of the resource's content.- Since:
- 5.4
-
-
Field Summary
Fields Modifier and Type Field Description checksum
resourcePath
-
Constructor Summary
Constructors Constructor Description ChecksumPath(ResourceStreamer streamer, baseFolder, extraPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
stream(Resource resource)
If the resource exists and the checksum is correct, stream it to the client and return true.
-
-
-
Field Detail
-
checksum
public final checksum
-
resourcePath
public final resourcePath
-
-
Constructor Detail
-
ChecksumPath
public ChecksumPath(ResourceStreamer streamer, baseFolder, extraPath)
-
-