## 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.internal.webresources |
  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, java.lang.String providedChecksum, java.util.Set<ResourceStreamer.Options> options)`
    `boolean` | ResourceStreamerImpl.`streamResource(StreamableResource streamable, java.lang.String providedChecksum, java.util.Set<ResourceStreamer.Options> options)`
    `boolean` | ResourceStreamer.`streamResource(StreamableResource resource, java.lang.String providedChecksum, java.util.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` | JavaScriptStackAssemblerImpl.`assembleJavaScriptResourceForStack(java.lang.String stackName, boolean compress, JavaScriptAggregationStrategy javascriptAggregationStrategy)`
    `StreamableResource` | JavaScriptStackAssembler.`assembleJavaScriptResourceForStack(java.lang.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` | UTF8ForTextAssets.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | SRSCachingInterceptor.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | DelegatingSRS.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | JavaScriptStackMinimizeDisabler.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | CSSURLRewriter.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | StreamableResourceSourceImpl.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | SRSCompressingInterceptor.`getStreamableResource(Resource baseResource, StreamableResourceProcessing processing, ResourceDependencies dependencies)`
    `StreamableResource` | SRSMinimizingInterceptor.`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
    --- | ---
    `java.lang.String` | AssetPathConstructorImpl.`constructAssetPath(java.lang.String virtualFolder, java.lang.String path, StreamableResource resource)`
    `java.lang.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.internal.webresources

    Methods in org.apache.tapestry5.internal.webresources that return StreamableResource
    Modifier and Type | Method and Description
    --- | ---
    `StreamableResource` | AbstractMinimizer.`minimize(StreamableResource input)`

    Methods in org.apache.tapestry5.internal.webresources with parameters of type StreamableResource
    Modifier and Type | Method and Description
    --- | ---
    `protected abstract java.io.InputStream` | AbstractMinimizer.`doMinimize(StreamableResource resource)` Implemented in subclasses to do the actual work.
    `protected java.io.InputStream` | GoogleClosureMinimizer.`doMinimize(StreamableResource resource)`
    `protected java.io.InputStream` | CSSMinimizer.`doMinimize(StreamableResource resource)`
    `protected boolean` | AbstractMinimizer.`isEnabled(StreamableResource resource)` Determines if the resource can be minimized.
    `protected boolean` | GoogleClosureMinimizer.`isEnabled(StreamableResource resource)`
    `StreamableResource` | AbstractMinimizer.`minimize(StreamableResource input)`

  - ### 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
    --- | ---
    `java.lang.String` | AssetPathConstructor.`constructAssetPath(java.lang.String virtualFolder, java.lang.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.
    `java.lang.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.

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.