Class AbstractAssetFactory
java.lang.Object
org.apache.tapestry5.internal.services.AbstractAssetFactory
- All Implemented Interfaces:
AssetFactory
- Direct Known Subclasses:
ClasspathAssetFactory,ContextAssetFactory
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, AssetPathConstructor assetPathConstructor, Resource rootResource) -
Method Summary
Modifier and TypeMethodDescriptionprotected AssetcreateAsset(Resource resource, String folder, String resourcePath) Returns the rootContextResource.protected booleanisCompressable(StreamableResource resource) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.tapestry5.services.AssetFactory
createAsset
-
Constructor Details
-
AbstractAssetFactory
public AbstractAssetFactory(ResponseCompressionAnalyzer compressionAnalyzer, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource, AssetPathConstructor assetPathConstructor, Resource rootResource)
-
-
Method Details
-
isCompressable
-
getRootResource
Returns the rootContextResource.- Specified by:
getRootResourcein interfaceAssetFactory
-
createAsset
-