org.apache.tapestry5.internal.services
Class AssetResourceLocatorImpl
java.lang.Object
org.apache.tapestry5.internal.services.AssetResourceLocatorImpl
- All Implemented Interfaces:
- AssetResourceLocator
public class AssetResourceLocatorImpl
- extends Object
- implements AssetResourceLocator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssetResourceLocatorImpl
public AssetResourceLocatorImpl(ClasspathAssetAliasManager aliasManager,
ResourceCache resourceCache,
@Inject@Symbol(value="tapestry.application-version")
String applicationVersion,
@ContextProvider
AssetFactory contextAssetFactory,
Response response)
findResourceForPath
public Resource findResourceForPath(String path)
throws IOException
- Description copied from interface:
AssetResourceLocator
- Analyzes the path and identifies the underying Asset Resource for that path. Handles context resources and
checking for a digest.
- Specified by:
findResourceForPath in interface AssetResourceLocator
- Parameters:
path - to translate
- Returns:
- resource corresponding to path (may be for a non-existent resource), or null if path is invalid (i.e.,
incorrect digest)
- Throws:
IOException
Copyright © 2006-2009 Apache Software Foundation. All Rights Reserved.