## Uses of Interface
org.apache.tapestry5.services.assets.StreamableResource

- Packages that use StreamableResource
  Package | Description
  --- | ---
  org.apache.tapestry5.internal.services | [INTERNAL USE ONLY] internal service classes; API subject to change
  org.apache.tapestry5.internal.services.assets | [INTERNAL USE ONLY] asset support services; API subject to change
  org.apache.tapestry5.services.assets | Various services for assets (e.g., images, JavaScript and CSS files)

- - ### Uses of StreamableResource in org.apache.tapestry5.internal.services

    Methods in org.apache.tapestry5.internal.services with parameters of type StreamableResource
    Modifier and Type | Method and Description
    --- | ---
    `protected boolean` | AbstractAssetFactory.`isCompressable(StreamableResource resource)`
    `boolean` | ResourceStreamerImpl.`streamResource(Resource resource, StreamableResource streamable, String providedChecksum, Set<ResourceStreamer.Options> options)`
    `boolean` | ResourceStreamerImpl.`streamResource(StreamableResource streamable, String providedChecksum, Set<ResourceStreamer.Options> options)`
    `boolean` | ResourceStreamer.`streamResource(StreamableResource resource, String providedChecksum, Set<ResourceStreamer.Options> options)` Streams a resource that has been assembled elsewhere.

  - ### Uses of StreamableResource in org.apache.tapestry5.internal.services.assets

    Classes in org.apache.tapestry5.internal.services.assets that implement StreamableResource
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CompressedStreamableResource` GZip compressed representation of a `StreamableResource`.
    `class` | `StreamableResourceImpl`

    Methods in org.apache.tapestry5.internal.services.assets that return StreamableResource
    Modifier and Type | Method and Description
    --- | ---
    `StreamableResource` | StreamableResourceImpl.`addResponseCustomizer(ResponseCustomizer customizer)`
    `StreamableResource` | JavaScriptStackAssembler.`assembleJavaScriptResourceForStack(String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy)` Obtains the `JavaScriptStack` by name, and then uses the `StreamableResourceSource` service to obtain the assets, which are combined together.
    `StreamableResource` | JavaScriptStackAssemblerImpl.`assembleJavaScriptResourceForStack(String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy)`
    `StreamableResource` | SRSCompressingInterceptor.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | SRSCachingInterceptor.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | StreamableResourceSourceImpl.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | CSSURLRewriter.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | JavaScriptStackMinimizeDisabler.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | SRSMinimizingInterceptor.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | UTF8ForTextAssets.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | DelegatingSRS.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | MasterResourceMinimizer.`minimize(StreamableResource resource)` Does nothing; an override of this service can be installed to provide minimization.
    `StreamableResource` | StreamableResourceImpl.`withContentType(ContentType newContentType)`

    Methods in org.apache.tapestry5.internal.services.assets with parameters of type StreamableResource
    Modifier and Type | Method and Description
    --- | ---
    `String` | AssetPathConstructorImpl.`constructAssetPath(String virtualFolder, String path, StreamableResource resource)`
    `String` | AssetChecksumGeneratorImpl.`generateChecksum(StreamableResource resource)`
    `protected boolean` | SRSCachingInterceptor.`isCacheable(StreamableResource resource)` Always returns true; a subclass may extend this to only cache the resource in some circumstances.
    `protected boolean` | SRSCompressedCachingInterceptor.`isCacheable(StreamableResource resource)` Return true only if the resource is compressed.
    `StreamableResource` | MasterResourceMinimizer.`minimize(StreamableResource resource)` Does nothing; an override of this service can be installed to provide minimization.

    Constructors in org.apache.tapestry5.internal.services.assets with parameters of type StreamableResource
    Constructor and Description
    `CompressedStreamableResource(StreamableResource base, AssetChecksumGenerator assetChecksumGenerator)`

  - ### Uses of StreamableResource in org.apache.tapestry5.services.assets

    Methods in org.apache.tapestry5.services.assets that return StreamableResource
    Modifier and Type | Method and Description
    --- | ---
    `StreamableResource` | StreamableResource.`addResponseCustomizer(ResponseCustomizer customizer)` Returns a new StreamableResource that includes the provided customizer.
    `StreamableResource` | StreamableResourceSource.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)` Converts a Resource (which must be non-null and exist) into a streamable resource, along with some additional optional behaviors.
    `StreamableResource` | ResourceMinimizer.`minimize(StreamableResource resource)` Checks the content type of the resource and applies an appropriate minimization to it if possible.
    `StreamableResource` | StreamableResource.`withContentType(ContentType newContentType)` Returns a new StreamableResource instance with the new content type.

    Methods in org.apache.tapestry5.services.assets with parameters of type StreamableResource
    Modifier and Type | Method and Description
    --- | ---
    `String` | AssetPathConstructor.`constructAssetPath(String virtualFolder, String path, StreamableResource resource)` Constructs an asset URL path from the virtual folder and path (within the virtual folder).
    `void` | ResponseCustomizer.`customizeResponse(StreamableResource resource, Response response)` Invoked to customize the response; these are invoked in the order they are added to the StreamableResource.
    `String` | AssetChecksumGenerator.`generateChecksum(StreamableResource resource)` Given a streamable resource, generates an MD5 checksum of the resource's contents.
    `StreamableResource` | ResourceMinimizer.`minimize(StreamableResource resource)` Checks the content type of the resource and applies an appropriate minimization to it if possible.

5.6.0 - Copyright © 2003-2020 The Apache Software Foundation.