Package org.apache.tapestry5.internal.services.assets
[INTERNAL USE ONLY] asset support services; API subject to change
-
Interface Summary Interface Description JavaScriptStackAssembler 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.ResourceChangeTracker 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. -
Class Summary Class Description AssetChecksumGeneratorImpl AssetPathConstructorImpl BytestreamCache A wrapper around a byte-stream, represented internally as a byte array.ChecksumPath Utility used byAssetRequestHandler
implementations where the first folder in the extra path is actually a computed checksum of the resource's content.ClasspathAssetRequestHandler A handler for asset requests for classpath assets (within a specific folder).CompressedStreamableResource GZip compressed representation of aStreamableResource
.CompressionAnalyzerImpl ContentTypeAnalyzerImpl ContextAssetRequestHandler Handles requests for context assets, screening out attempt to access anything under WEB-INF or META-INF.CSSURLRewriter Rewrites theurl()
attributes inside a CSS (MIME type "text/css")) resource.DelegatingSRS Base class forStreamableResourceSource
implementations.JavaScriptStackAssemblerImpl JavaScriptStackMinimizeDisabler Attempts to match resources against aJavaScriptStack
, and possibly disabled minimization based on the stack.MasterResourceMinimizer Implementation that delegates, via its configuration, to a real implementation based on the content type of the resource.ResourceChangeTrackerImpl SRSCachingInterceptor An interceptor for theStreamableResourceSource
service that handles caching of content.SRSCompressedCachingInterceptor Specialization ofSRSCachingInterceptor
that only attempts to cache compressed resources.SRSCompressingInterceptor SRSMinimizingInterceptor Loops the result through theResourceMinimizer
service.StackAssetRequestHandler StreamableResourceImpl StreamableResourceSourceImpl UTF8ForTextAssets Adds ;charset=utf-8 for text/* resources with no specific character set.