# 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 arbitrary `Resource` or `StreamableResource` which 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 the `AssetPathConverter` into the generation.
  AssetRequestHandler | Handler for asset requests, which expose some kind of `Asset` to the user agent (i.e., the client web browser).
  ContentTypeAnalyzer | Used to determine the MIME content type for a resource.
  ResourceDependencies | Used by some `ResourceTransformer` implementations 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 a `Resource` and 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 a `Resource`, that can be streamed (ultimately, to a client web browser).
  StreamableResourceSource | Converts `Resource`s into `StreamableResource`s, and may be responsible for transforming resources based on file extension.

- Enum Summary
  Enum | Description
  --- | ---
  CompressionStatus | Indicates how the content inside a `StreamableResource` is (potentially) compressed.
  StreamableResourceProcessing | Defines additional features desired when accessing the content of a `Resource` as a `StreamableResource`.