@Marker(value=ClasspathProvider.class) public class ClasspathAssetFactory extends AbstractAssetFactory
AssetDispatcher
Constructor and Description |
---|
ClasspathAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer,
ResourceChangeTracker resourceChangeTracker,
StreamableResourceSource streamableResourceSource,
AssetPathConstructor assetPathConstructor,
ClasspathAssetAliasManager aliasManager) |
Modifier and Type | Method and Description |
---|---|
Asset |
createAsset(Resource resource)
Creates an instance of an asset.
|
createAsset, getRootResource, isCompressable
public ClasspathAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, AssetPathConstructor assetPathConstructor, ClasspathAssetAliasManager aliasManager)
public Asset createAsset(Resource resource)
AssetFactory
Asset2
.resource
- a resource within this factories domain (derived from the root
resource)${project.version} - Copyright © 2003-2015 The Apache Software Foundation.