Class ExtractRequestAttributesUrlTransformer

java.lang.Object
org.craftercms.core.url.impl.ExtractRequestAttributesUrlTransformer
All Implemented Interfaces:
UrlTransformer

public class ExtractRequestAttributesUrlTransformer extends Object implements UrlTransformer
Extracts a request attribute from the URL, and finally removes it from the URL. E.g.: with a URI template like /site/website/{event}/details/index.xml and a url like /site/website/1/details/index.xml, the resulting url will be /site/website/details/index.xml, with request attribute event = 1.
Author:
Praveen Elineni, Alfonso Vásquez