|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AssetPathConverter
Converts the path (or URI) of an asset into a new format. This is the hook needed to make use of a Content Delivery Network.
The default implementation of this is identity, the URI is passed through unchanged. Using a contribution to theServiceOverride
service, you may override the default implementation.
Method Summary | |
---|---|
String |
convertAssetPath(String assetPath)
Converts the default asset client URI to its final form, ready to be sent to the client. |
boolean |
isInvariant()
Returns true if the converter returns that same converted path for any specific asset path (in which case, the converted asset path may be cached in component instance variables more aggresively). |
Method Detail |
---|
boolean isInvariant()
String convertAssetPath(String assetPath)
assetPath
- default asset path
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |