Package org.craftercms.core.url.impl
Class UrlTransformerPipeline
java.lang.Object
org.craftercms.core.url.impl.UrlTransformerPipeline
- All Implemented Interfaces:
UrlTransformer
UrlTransformer
implementation that basically is a collection of other transformers.- Author:
- Sumer Jabri, Alfonso Vásquez
-
Constructor Summary
ConstructorDescriptionUrlTransformerPipeline
(List<UrlTransformer> transformers) UrlTransformerPipeline
(UrlTransformer... transformers) -
Method Summary
Modifier and TypeMethodDescriptiontransformUrl
(Context context, CachingOptions cachingOptions, String url)
-
Constructor Details
-
UrlTransformerPipeline
public UrlTransformerPipeline() -
UrlTransformerPipeline
@ConstructorProperties("transformers") public UrlTransformerPipeline(List<UrlTransformer> transformers) -
UrlTransformerPipeline
@ConstructorProperties("transformers") public UrlTransformerPipeline(UrlTransformer... transformers)
-
-
Method Details
-
transformUrl
public String transformUrl(Context context, CachingOptions cachingOptions, String url) throws UrlTransformationException - Specified by:
transformUrl
in interfaceUrlTransformer
- Throws:
UrlTransformationException
-