Uses of Interface
org.apache.tapestry5.services.AssetFactory
Packages that use AssetFactory
Package
Description
[INTERNAL USE ONLY] internal service classes; API subject to change
Support for testing Tapestry pages
-
Uses of AssetFactory in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement AssetFactoryModifier and TypeClassDescriptionclass
class
Generates Assets for files on the classpath.class
Implementation ofAssetFactory
for assets that are part of the web application context.class
Constructors in org.apache.tapestry5.internal.services with parameters of type AssetFactoryModifierConstructorDescriptionResourceStreamerImpl
(Request request, Response response, StreamableResourceSource streamableResourceSource, OperationTracker tracker, boolean productionMode, ResourceChangeTracker resourceChangeTracker, String omitExpirationCacheControlHeader, AssetFactory classpathAssetFactory, AssetFactory contextAssetFactory) Constructor parameters in org.apache.tapestry5.internal.services with type arguments of type AssetFactoryModifierConstructorDescriptionAssetSourceImpl
(ThreadLocale threadLocale, Map<String, AssetFactory> configuration, SymbolSource symbolSource, org.slf4j.Logger logger, OperationTracker tracker) AssetSourceImpl
(ThreadLocale threadLocale, Map<String, AssetFactory> configuration, SymbolSource symbolSource, org.slf4j.Logger logger, OperationTracker tracker, Request request) -
Uses of AssetFactory in org.apache.tapestry5.modules
Methods in org.apache.tapestry5.modules that return AssetFactoryModifier and TypeMethodDescriptionstatic AssetFactory
AssetsModule.buildContextAssetFactory
(ApplicationGlobals globals, AssetPathConstructor assetPathConstructor, ResponseCompressionAnalyzer compressionAnalyzer, ResourceChangeTracker resourceChangeTracker, StreamableResourceSource streamableResourceSource) Methods in org.apache.tapestry5.modules with parameters of type AssetFactoryModifier and TypeMethodDescriptionvoid
AssetsModule.configureStandardAssetFactories
(MappedConfiguration<String, AssetFactory> configuration, AssetFactory contextAssetFactory, AssetFactory classpathAssetFactory) static void
TapestryModule.contributeComponentTemplateLocator
(OrderedConfiguration<ComponentTemplateLocator> configuration, AssetFactory contextAssetFactory, String applicationFolder, ComponentClassResolver componentClassResolver) Contributes two template locators: Default Searches for the template on the classpath (DefaultTemplateLocator
Page Searches for page templates in the context (PageTemplateLocator
)static void
AssetsModule.provideBuiltinAssetDispatchers
(MappedConfiguration<String, AssetRequestHandler> configuration, AssetFactory contextAssetFactory, StackAssetRequestHandler stackAssetRequestHandler, ClasspathAssetAliasManager classpathAssetAliasManager, ResourceStreamer streamer, AssetSource assetSource, ClasspathAssetProtectionRule classpathAssetProtectionRule) Contributes an handler for each mapped classpath alias, as well handlers for context assets and stack assets (combinedJavaScriptStack
files).Method parameters in org.apache.tapestry5.modules with type arguments of type AssetFactoryModifier and TypeMethodDescriptionvoid
AssetsModule.configureStandardAssetFactories
(MappedConfiguration<String, AssetFactory> configuration, AssetFactory contextAssetFactory, AssetFactory classpathAssetFactory) -
Uses of AssetFactory in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return AssetFactoryModifier and TypeMethodDescriptionprotected final AssetFactory
TapestryTestCase.mockAssetFactory()
Methods in org.apache.tapestry5.test with parameters of type AssetFactoryModifier and TypeMethodDescriptionprotected final void
TapestryTestCase.train_createAsset
(AssetFactory factory, Resource resource, Asset asset) protected final void
TapestryTestCase.train_getRootResource
(AssetFactory factory, Resource rootResource)