org.thymeleaf.context
Class WarningContextVariableRestriction
Object
org.thymeleaf.context.WarningContextVariableRestriction
- All Implemented Interfaces:
- IContextVariableRestriction
public class WarningContextVariableRestriction
- extends Object
- implements IContextVariableRestriction
Allows access to a specific variable in the map, but outputs
a warning through the log.
- Since:
- 2.0.16
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WarningContextVariableRestriction
public WarningContextVariableRestriction(String targetVariableName)
WarningContextVariableRestriction
public WarningContextVariableRestriction(String targetVariableName,
String message)
checkAccess
public void checkAccess(VariablesMap<?,?> variablesMap,
String variableName)
- Specified by:
checkAccess
in interface IContextVariableRestriction
Copyright © 2013 The THYMELEAF team. All Rights Reserved.