public abstract class AbstractCachedUrlTransformationEngine extends Object implements UrlTransformationEngine
| Modifier and Type | Field and Description |
|---|---|
protected CacheTemplate |
cacheTemplate |
static String |
TRANSFORMED_URL_CONST_KEY_ELEM |
| Constructor and Description |
|---|
AbstractCachedUrlTransformationEngine() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
doTransformUrl(Context context,
CachingOptions cachingOptions,
String transformerName,
String url) |
void |
setCacheTemplate(CacheTemplate cacheTemplate) |
String |
transformUrl(Context context,
CachingOptions cachingOptions,
String transformerName,
String url) |
String |
transformUrl(Context context,
String transformerName,
String url) |
public static final String TRANSFORMED_URL_CONST_KEY_ELEM
protected CacheTemplate cacheTemplate
public AbstractCachedUrlTransformationEngine()
public void setCacheTemplate(CacheTemplate cacheTemplate)
public String transformUrl(Context context, String transformerName, String url) throws UrlTransformationException
transformUrl in interface UrlTransformationEngineUrlTransformationExceptionpublic String transformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url) throws UrlTransformationException
transformUrl in interface UrlTransformationEngineUrlTransformationExceptionprotected abstract String doTransformUrl(Context context, CachingOptions cachingOptions, String transformerName, String url) throws UrlTransformationException
UrlTransformationExceptionCopyright © 2018 CrafterCMS. All rights reserved.