| 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) | 
| 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 | ResourceStreamer. streamResource(StreamableResource resource,
                            String providedChecksum,
                            Set<ResourceStreamer.Options> options)Streams a resource that has been assembled elsewhere. | 
| boolean | ResourceStreamerImpl. streamResource(StreamableResource streamable,
                            String providedChecksum,
                            Set<ResourceStreamer.Options> options) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CompressedStreamableResourceGZip compressed representation of a  StreamableResource. | 
| class  | StreamableResourceImpl | 
| 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. | 
| Constructor and Description | 
|---|
| CompressedStreamableResource(StreamableResource base,
                                                        AssetChecksumGenerator assetChecksumGenerator) | 
| Modifier and Type | Method and Description | 
|---|---|
| StreamableResource | AbstractMinimizer. minimize(StreamableResource input) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected InputStream | CSSMinimizer. doMinimize(StreamableResource resource) | 
| protected abstract InputStream | AbstractMinimizer. doMinimize(StreamableResource resource)Implemented in subclasses to do the actual work. | 
| protected InputStream | GoogleClosureMinimizer. 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) | 
| 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. | 
| 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. | 
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.