Package org.apache.tapestry5.internal.services.assets
package org.apache.tapestry5.internal.services.assets
[INTERNAL USE ONLY] asset support services; API subject to change
-
ClassDescriptionA wrapper around a byte-stream, represented internally as a byte array.Utility used by
AssetRequestHandler
implementations where the first folder in the extra path is actually a computed checksum of the resource's content.A handler for asset requests for classpath assets (within a specific folder).GZip compressed representation of aStreamableResource
.Handles requests for context assets, screening out attempt to access anything under WEB-INF or META-INF.Rewrites theurl()
attributes inside a CSS (MIME type "text/css")) resource.Base class forStreamableResourceSource
implementations.Assembles the individual assets of aJavaScriptStack
into a single resource; this is needed to generate a checksum for the aggregated assets, and also to service the aggregated stack content.Attempts to match resources against aJavaScriptStack
, and possibly disabled minimization based on the stack.Implementation that delegates, via its configuration, to a real implementation based on the content type of the resource.Tracks resources (at least, resources that can change because they are on the file system) and acts as anUpdateListener
to check for changes and notify its listeners.An interceptor for theStreamableResourceSource
service that handles caching of content.Specialization ofSRSCachingInterceptor
that only attempts to cache compressed resources.Loops the result through theResourceMinimizer
service.Adds ;charset=utf-8 for text/* resources with no specific character set.