public final class StandardExpressionExecutionContext extends Object
Context class that contains several conditions that might be of interest to the expression executor (like for instance, whether the expression comes from preprocessing or not)
Note a class with this name existed since 2.0.16, but it was completely reimplemented in Thymeleaf 3.0
Modifier and Type | Field and Description |
---|---|
static StandardExpressionExecutionContext |
NORMAL |
static StandardExpressionExecutionContext |
NORMAL_WITH_TYPE_CONVERSION |
static StandardExpressionExecutionContext |
RESTRICTED |
static StandardExpressionExecutionContext |
RESTRICTED_WITH_TYPE_CONVERSION |
Modifier and Type | Method and Description |
---|---|
boolean |
getPerformTypeConversion() |
boolean |
getRestrictVariableAccess() |
StandardExpressionExecutionContext |
withoutTypeConversion() |
StandardExpressionExecutionContext |
withTypeConversion() |
public static final StandardExpressionExecutionContext RESTRICTED
public static final StandardExpressionExecutionContext RESTRICTED_WITH_TYPE_CONVERSION
public static final StandardExpressionExecutionContext NORMAL
public static final StandardExpressionExecutionContext NORMAL_WITH_TYPE_CONVERSION
public boolean getRestrictVariableAccess()
public boolean getPerformTypeConversion()
public StandardExpressionExecutionContext withoutTypeConversion()
public StandardExpressionExecutionContext withTypeConversion()
Copyright © 2016 The THYMELEAF team. All rights reserved.