- AbstractAssetFile - Class in asset.pipeline
This is the base Asset File specification class.
- AbstractAssetResolver - Class in asset.pipeline.fs
The abstract class for any helper methods in resolving files
- AbstractAssetResolver(String) - Constructor in AbstractAssetResolver
-
- AbstractProcessor - Class in asset.pipeline
Abstract implementation of the
Processor interface
- AbstractProcessor(AssetCompiler) - Constructor in AbstractProcessor
-
Constructor for building a Processor
- AbstractUrlRewritingProcessor - Class in asset.pipeline.processors
Subclasses iterate over relative asset URLs in a base asset file and
rewrites the URL relative to the base asset file.
- AbstractUrlRewritingProcessor(AssetCompiler) - Constructor in AbstractUrlRewritingProcessor
-
- addCacheDependency(String, AssetFile) - Method in CacheManager
-
Called during asset processing to add a dependent file to another file cache.
- applyProcessors(ClassLoader) - Method in AssetSpecLoader
-
Loads processor.specs files and appends
Processor implementations to matching
AssetFile implementations.
- AssetCompiler - Class in asset.pipeline
Build time compiler for assets.
- AssetCompiler(def, def) - Constructor in AssetCompiler
-
Creates an instance of the compiler given passed input options
- AssetConnection - Class in sun.net.www.protocol.asset
- AssetConnection(URL) - Constructor in AssetConnection
-
- AssetFile - Interface in asset.pipeline
Provides an interface for referencing files resolved by the Asset-Pipeline AssetResolvers
- assetFileClasses() - Method in AssetHelper
-
@return The classes that implement the
AssetFile interface
- assetForFile(T, String, AssetFile, String) - Method in AbstractAssetResolver
-
- assetForFileName(String) - Method in AssetHelper
-
Finds the AssetFile definition for the specified file name based on its extension
- AssetHelper - Class in asset.pipeline
Helper class for resolving assets
- assetMimeTypeForURI(String) - Method in AssetHelper
-
The asset content type for the given URI
- AssetPipeline - Class in asset.pipeline
Provides methods for fetching contents of assets within the asset-pipeline
- AssetPipelineConfigHolder - Class in asset.pipeline
Holder for Asset Pipeline's configuration
Also Provides Helper methods for loading in config from properties
- AssetPipelineResponseBuilder - Class in asset.pipeline
- AssetPipelineResponseBuilder(String, String, String, Date) - Constructor in AssetPipelineResponseBuilder
-
- AssetResolver - Interface in asset.pipeline.fs
A public interface defining a class that can resolve files
- AssetSpecLoader - Class in asset.pipeline
Loads asset specification.
- asyncCacheSave() - Method in CacheManager
-
Asynchronously starts a thread used to persist the cache to disk
It also performs a debounce behavior so rapid calls to the save do not cause repeat saves
- GenericAssetFile - Class in asset.pipeline
Generic implementation of the
AssetFile interface
This is used to reference objects that do not get otherwise processed.
- getAllAssets() - Method in AssetCompiler
-
/*', '*
- getAsset(String) - Method in AssetResolver
-
Resolves a file given a relative path to this particular resolver
- getAsset(String, String, String, AssetFile) - Method in ClasspathAssetResolver
-
- getAsset(String, String, String, AssetFile) - Method in FileSystemAssetResolver
-
- getAsset(String, String, String, AssetFile) - Method in JarAssetResolver
-
- getAssetFileWithExtension(String, String) - Method in AssetHelper
-
@param uri string representation of the asset file.
- getAssets(String) - Method in AssetResolver
-
- getAssets(String, String, String, Boolean, AssetFile, AssetFile) - Method in ClasspathAssetResolver
-
- getAssets(String, String, String, Boolean, AssetFile, AssetFile) - Method in FileSystemAssetResolver
-
Implementation Requirements
Should be able to take a relative to baseFile scenario
- getAssets(String, String, String, Boolean, AssetFile, AssetFile) - Method in JarAssetResolver
-
- getBaseFile() - Method in AssetFile
-
@return The base file
- getByteDigest() - Method in AbstractAssetFile
-
Returns a HEX encoded byte digest of the file contents (preprocessed)
This leverages the DigestStream wrapping the files inputStream for efficient calculation
If the stream is not fully read yet it will consume the rest of the stream
- getByteDigest() - Method in AssetFile
-
- getByteDigest(byte[]) - Method in AssetHelper
-
Generates an MD5 Byte Digest from a byte array
- getBytes() - Method in GenericAssetFile
-
Returns a byte array of the inputStream contents
NOTE: For large files this could result in large memory issues.
- getCanonicalPath() - Method in AbstractAssetFile
-
Returns the canonicalPath in the context of the AssetResolver file path structure.
- getConfig() - Method in AssetPipelineConfigHolder
-
- getContent() - Method in AssetConnection
-
- getCurrentETag() - Method in AssetPipelineResponseBuilder
-
- getDependencyList(String, String, String) - Method in AssetPipeline
-
Used for serving assets in development mode via the AssetController
This method is NOT recommended for public use as behavior changes in production mode.
- getDependencyTree(AssetFile) - Method in DirectiveProcessor
-
Builds a dependency tree for a particular file
- getDigestString() - Method in AssetPipelineConfigHolder
-
- getDirectivePattern() - Method in AbstractAssetFile
-
Returns the directive pattern used to perform bundling in the comments of the file
it is possible for the pattern to be NULL if this file type does not support it
- getDirectivePattern() - Method in AssetFile
-
Returns the directive pattern used for bundling directive matching.
- getEncoding() - Method in AssetFile
-
@return The encoding to use
- getExcludesForPathKey(String) - Method in AssetCompiler
-
- getFileName(T) - Method in AbstractAssetResolver
-
- getFileName(URL) - Method in ClasspathAssetResolver
-
- getFileName(File) - Method in FileSystemAssetResolver
-
- getFileName(ZipEntry) - Method in JarAssetResolver
-
- getFlattenedRequireList(def) - Method in DirectiveProcessor
-
Returns a Flattened list of files based on the require tree
This is useful for converting a script tag into several script tags for debugging
- getHeaders() - Method in AssetPipelineResponseBuilder
-
- getIncludesForPathKey(String) - Method in AssetCompiler
-
- getInputStream() - Method in AbstractAssetFile
-
Executes the inputStreamSource() closure to fetch a new inputStream object
In the case of a standard asset file this result is cached into a Byte Array and also wrapped
in a DigestInputStream for efficient md5 digest generation
- getInputStream() - Method in AssetConnection
-
- getInputStream() - Method in AssetFile
-
An input stream for the AssetFile
- getInputStream() - Method in GenericAssetFile
-
Returns an inputStream reference to the file.
- getManifest() - Method in AssetPipelineConfigHolder
-
- getMatchedDirectives() - Method in AssetFile
-
@return the list of matched directive options
- getName() - Method in AbstractAssetFile
-
Returns the name of the file without the path elements
- getName() - Method in AssetFile
-
The name of the asset file
- getName() - Method in AssetResolver
-
- getName() - Method in GenericAssetFile
-
The name of the file without all path elements
@return
- getParentPath() - Method in AbstractAssetFile
-
Gets the parent path of the file
Behaves similarly to a File.getParent() method
@return
- getParentPath() - Method in AssetFile
-
The path to the parent
- getParentPath() - Method in GenericAssetFile
-
Returns the parent path or directory with which this file belongs
- getPath() - Method in AssetFile
-
The path to the asset file
- getPossibleFileSpecs(String) - Method in AssetHelper
-
Returns the possible
AssetFile classes for the given content type
- getRelativeFile(String, String) - Method in AbstractAssetResolver
-
- getRelativeFile(String, String) - Method in ClasspathAssetResolver
-
- getRelativeFile(String, String) - Method in FileSystemAssetResolver
-
- getRelativeFile(String, String) - Method in JarAssetResolver
-
- getResolvers() - Method in AssetPipelineConfigHolder
-
- getSourceResolver() - Method in AssetFile
-
The AssetResolver used to resolve the asset file
- getStatusCode() - Method in AssetPipelineResponseBuilder
-