public class HrefUrlRewriteProcessor extends UrlRewriteProcessor
UrlRewriteProcessor but handles href tags.
Mainly those that have a useCdn=true attribute or those that are inside a script tag.| Modifier and Type | Field and Description |
|---|---|
protected StaticAssetPathService |
staticAssetPathService |
| Constructor and Description |
|---|
HrefUrlRewriteProcessor()
Sets the name of this processor to be used in Thymeleaf template
|
| Modifier and Type | Method and Description |
|---|---|
protected org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType |
getModificationType(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName) |
protected Map<String,String> |
getModifiedAttributeValues(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
protected boolean |
recomputeProcessorsAfterExecution(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName) |
protected boolean |
removeAttributeIfEmpty(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName) |
getPrecedence, isRequestSecuredoAdditionalProcess, processAttribute, shouldRemoveAttributedoProcess, getMatcherprotected StaticAssetPathService staticAssetPathService
public HrefUrlRewriteProcessor()
protected Map<String,String> getModifiedAttributeValues(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element, String attributeName)
getModifiedAttributeValues in class UrlRewriteProcessorprotected org.thymeleaf.processor.attr.AbstractAttributeModifierAttrProcessor.ModificationType getModificationType(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
getModificationType in class UrlRewriteProcessorprotected boolean removeAttributeIfEmpty(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName,
String newAttributeName)
removeAttributeIfEmpty in class UrlRewriteProcessorprotected boolean recomputeProcessorsAfterExecution(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element,
String attributeName)
recomputeProcessorsAfterExecution in class UrlRewriteProcessorCopyright © 2015. All Rights Reserved.