public class AssetPathConstructorImpl extends Object implements AssetPathConstructor
Constructor and Description |
---|
AssetPathConstructorImpl(Request request,
BaseURLSource baseURLSource,
String applicationVersion,
String applicationFolder,
boolean fullyQualified,
String assetPathPrefix) |
Modifier and Type | Method and Description |
---|---|
String |
constructAssetPath(String virtualFolder,
String path)
Constructs an asset URL path from the virtual folder and path (within the virtual folder).
|
public AssetPathConstructorImpl(Request request, BaseURLSource baseURLSource, @Symbol(value="tapestry.application-version") String applicationVersion, @Symbol(value="tapestry.application-folder") String applicationFolder, @Symbol(value="tapestry.asset-url-fully-qualified") boolean fullyQualified, @Symbol(value="tapestry.asset-path-prefix") String assetPathPrefix)
public String constructAssetPath(String virtualFolder, String path)
AssetPathConstructor
constructAssetPath
in interface AssetPathConstructor
virtualFolder
- corresponds to a AssetRequestHandler
contributed to the AssetDispatcher servicepath
- within the virtual folder (should not start with a slash)Copyright © 2003-2012 The Apache Software Foundation.