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 Asset
createAsset
(Resource resource, String folder, String resourcePath) Returns the rootContextResource
.protected boolean
isCompressable
(StreamableResource resource) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getRootResource
in interfaceAssetFactory
-
createAsset
-