Package | Description |
---|---|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.modules | |
org.apache.tapestry5.test |
Support for testing Tapestry pages
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractAssetFactory |
class |
ClasspathAssetFactory
Generates Assets for files on the classpath.
|
class |
ContextAssetFactory
Implementation of
AssetFactory for assets that are part of the web application context. |
class |
ExternalUrlAssetFactory |
Constructor and Description |
---|
ResourceStreamerImpl(Request request,
Response response,
StreamableResourceSource streamableResourceSource,
OperationTracker tracker,
boolean productionMode,
ResourceChangeTracker resourceChangeTracker,
String omitExpirationCacheControlHeader,
AssetFactory classpathAssetFactory,
AssetFactory contextAssetFactory) |
Constructor and Description |
---|
AssetSourceImpl(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) |
Modifier and Type | Method and Description |
---|---|
static AssetFactory |
AssetsModule.buildContextAssetFactory(ApplicationGlobals globals,
AssetPathConstructor assetPathConstructor,
ResponseCompressionAnalyzer compressionAnalyzer,
ResourceChangeTracker resourceChangeTracker,
StreamableResourceSource streamableResourceSource) |
Modifier and Type | Method and Description |
---|---|
void |
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 (combined
JavaScriptStack files). |
Modifier and Type | Method and Description |
---|---|
void |
AssetsModule.configureStandardAssetFactories(MappedConfiguration<String,AssetFactory> configuration,
AssetFactory contextAssetFactory,
AssetFactory classpathAssetFactory) |
Modifier and Type | Method and Description |
---|---|
protected AssetFactory |
TapestryTestCase.mockAssetFactory() |
Modifier and Type | Method and Description |
---|---|
protected void |
TapestryTestCase.train_createAsset(AssetFactory factory,
Resource resource,
Asset asset) |
protected void |
TapestryTestCase.train_getRootResource(AssetFactory factory,
Resource rootResource) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.