Class ChecksumPath
java.lang.Object
org.apache.tapestry5.internal.services.assets.ChecksumPath
Utility used by
AssetRequestHandler
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 -
Constructor Summary
ConstructorsConstructorDescriptionChecksumPath
(ResourceStreamer streamer, String baseFolder, String extraPath) -
Method Summary
-
Field Details
-
checksum
-
resourcePath
-
-
Constructor Details
-
ChecksumPath
-
-
Method Details
-
stream
If the resource exists and the checksum is correct, stream it to the client and return true. Otherwise, return false.- Parameters:
resource
- to stream- Returns:
- true if streamed, false otherwise
- Throws:
IOException
-