Package org.apache.tapestry5.services.assets
Various services for assets (e.g., images, JavaScript and CSS files)
-
Interface Summary Interface Description AssetChecksumGenerator Generates a checksum of an arbitraryResourceorStreamableResourcewhich can be incorporated into the client URL of an Asset.AssetPathConstructor Encapsulates the logic or creating the path portion of an asset URL, including hooking theAssetPathConverterinto the generation.AssetRequestHandler Handler for asset requests, which expose some kind ofAssetto the user agent (i.e., the client web browser).ContentTypeAnalyzer Used to determine the MIME content type for a resource.ResourceDependencies Used by someResourceTransformerimplementations to track additional dependencies that can arise when the underlying resource being transformed can be dependent on other resources (for instance, if it has the notion of "including" or "importing" content).ResourceMinimizer Certain kinds of resources can be minimized: this primarily refers to JavaScript and CSS, both of which contain whitespace, comments and other features that can be reduced.ResourceTransformer A transformer is used to read aResourceand pass it through a transformation stage, to get a stream that can be used on the client side.ResponseCustomizer Used to customize the response prior to streaming content to the client; typically this is used to set special headers.StreamableResource An object, derived from aResource, that can be streamed (ultimately, to a client web browser).StreamableResourceSource ConvertsResources intoStreamableResources, and may be responsible for transforming resources based on file extension. -
Enum Summary Enum Description CompressionStatus Indicates how the content inside aStreamableResourceis (potentially) compressed.StreamableResourceProcessing Defines additional features desired when accessing the content of aResourceas aStreamableResource.