Package org.craftercms.core.url.impl
Class AbstractCachedUrlTransformationEngine
java.lang.Object
org.craftercms.core.url.impl.AbstractCachedUrlTransformationEngine
- All Implemented Interfaces:
UrlTransformationEngine
- Direct Known Subclasses:
UrlTransformationEngineImpl
public abstract class AbstractCachedUrlTransformationEngine
extends Object
implements UrlTransformationEngine
Class description goes HERE
- Author:
- Alfonso Vásquez
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringdoTransformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url) voidsetCacheTemplate(CacheTemplate cacheTemplate) transformUrl(Context context, String transformerName, String url) transformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url)
-
Field Details
-
TRANSFORMED_URL_CONST_KEY_ELEM
- See Also:
-
cacheTemplate
-
-
Constructor Details
-
AbstractCachedUrlTransformationEngine
public AbstractCachedUrlTransformationEngine()
-
-
Method Details
-
setCacheTemplate
-
transformUrl
public String transformUrl(Context context, String transformerName, String url) throws UrlTransformationException - Specified by:
transformUrlin interfaceUrlTransformationEngine- Throws:
UrlTransformationException
-
transformUrl
public String transformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url) throws UrlTransformationException - Specified by:
transformUrlin interfaceUrlTransformationEngine- Throws:
UrlTransformationException
-
doTransformUrl
protected abstract String doTransformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url) throws UrlTransformationException - Throws:
UrlTransformationException
-