Package org.craftercms.core.url.impl
Class AddContextPathUrlTransformer
- java.lang.Object
-
- org.craftercms.core.url.impl.AddContextPathUrlTransformer
-
- All Implemented Interfaces:
UrlTransformer
,org.springframework.beans.factory.Aware
,org.springframework.web.context.ServletContextAware
public class AddContextPathUrlTransformer extends Object implements UrlTransformer, org.springframework.web.context.ServletContextAware
Class description goes HERE- Author:
- Alfonso Vásquez
-
-
Constructor Summary
Constructors Constructor Description AddContextPathUrlTransformer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setServletContext(javax.servlet.ServletContext servletContext)
String
transformUrl(Context context, CachingOptions cachingOptions, String url)
-
-
-
Method Detail
-
setServletContext
public void setServletContext(javax.servlet.ServletContext servletContext)
- Specified by:
setServletContext
in interfaceorg.springframework.web.context.ServletContextAware
-
transformUrl
public String transformUrl(Context context, CachingOptions cachingOptions, String url) throws UrlTransformationException
- Specified by:
transformUrl
in interfaceUrlTransformer
- Throws:
UrlTransformationException
-
-