public interface AssetPathConstructor
AssetPathConverter
into the generation.PathConstructor| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
constructAssetPath(java.lang.String virtualFolder,
java.lang.String path,
StreamableResource resource)
Constructs an asset URL path from the virtual folder and path (within the virtual folder).
|
@IncompatibleChange(release="5.4", details="resource parameter added, IOException may now be thrown") java.lang.String constructAssetPath(java.lang.String virtualFolder, java.lang.String path, StreamableResource resource) throws java.io.IOException
SymbolConstants.ASSET_URL_FULL_QUALIFIED
symbol), the result is passed through the AssetPathConverter.virtualFolder - corresponds to a AssetRequestHandler contributed to the AssetDispatcher servicepath - a path that can be used to identify the underlying Resource or
or re-acquire the StreamableResource; this will be the final portion of the URL, after
the appropriate prefix (based on whether the resource is compressed or not) and the checksum for the
resourceresource - underlying resource for the asset path; the checksum portion of the URL is obtained from the resourceAssetDispatcher
to find and stream the resourcejava.io.IOExceptionStreamableResourceSource${project.version} - Copyright © 2003-2015 The Apache Software Foundation.