@Component(value="blHrefUrlRewriteProcessor") @ConditionalOnTemplating 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 org.broadleafcommerce.common.file.service.StaticAssetPathService |
staticAssetPathService |
| Constructor and Description |
|---|
HrefUrlRewriteProcessor() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.presentation.model.BroadleafAttributeModifier |
getModifiedAttributes(String tagName,
Map<String,String> tagAttributes,
String attributeName,
String attributeValue,
org.broadleafcommerce.presentation.model.BroadleafTemplateContext context) |
String |
getName() |
getFullAssetPath, getPrecedence, isRequestSecure, parsePathprotected org.broadleafcommerce.common.file.service.StaticAssetPathService staticAssetPathService
public String getName()
getName in interface org.broadleafcommerce.presentation.dialect.BroadleafProcessorgetName in class UrlRewriteProcessorpublic org.broadleafcommerce.presentation.model.BroadleafAttributeModifier getModifiedAttributes(String tagName, Map<String,String> tagAttributes, String attributeName, String attributeValue, org.broadleafcommerce.presentation.model.BroadleafTemplateContext context)
getModifiedAttributes in interface org.broadleafcommerce.presentation.dialect.BroadleafAttributeModifierProcessorgetModifiedAttributes in class UrlRewriteProcessorCopyright © 2017. All rights reserved.