public class UncacheableDataProcessor
extends org.thymeleaf.processor.element.AbstractElementProcessor
BroadleafCacheProcessor.
Example usage on cached pages with dynamic data. This would generally go after the footer for the page.
<blc:uncacheableData />
| Modifier and Type | Field and Description |
|---|---|
protected ExploitProtectionService |
eps |
protected InventoryService |
inventoryService |
| Constructor and Description |
|---|
UncacheableDataProcessor()
Sets the name of this processor to be used in Thymeleaf template
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addCartData(Map<String,Object> attrMap) |
protected void |
addCustomerData(Map<String,Object> attrMap) |
protected void |
addProductInventoryData(Map<String,Object> attrMap,
org.thymeleaf.Arguments arguments) |
protected String |
buildContentMap(org.thymeleaf.Arguments arguments) |
String |
getDefaultCallbackFunction() |
int |
getPrecedence() |
String |
getUncacheableDataFunction(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element) |
protected org.thymeleaf.processor.ProcessorResult |
processElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element) |
void |
setDefaultCallbackFunction(String defaultCallbackFunction) |
doProcess, getMatcherprotected InventoryService inventoryService
protected ExploitProtectionService eps
public UncacheableDataProcessor()
public int getPrecedence()
getPrecedence in class org.thymeleaf.processor.AbstractProcessorprotected org.thymeleaf.processor.ProcessorResult processElement(org.thymeleaf.Arguments arguments,
org.thymeleaf.dom.Element element)
processElement in class org.thymeleaf.processor.element.AbstractElementProcessorprotected String buildContentMap(org.thymeleaf.Arguments arguments)
protected void addProductInventoryData(Map<String,Object> attrMap, org.thymeleaf.Arguments arguments)
public String getUncacheableDataFunction(org.thymeleaf.Arguments arguments, org.thymeleaf.dom.Element element)
public String getDefaultCallbackFunction()
public void setDefaultCallbackFunction(String defaultCallbackFunction)
Copyright © 2014. All Rights Reserved.