public class SpringWebExpressionEvaluator extends Object implements ExpressionEvaluator
Transition
conditions allowing to
@myBeanName...
,ExecutionContext
properties using ctx['property']
,HttpServletRequest
parameters using requestParameters['foo']
(keep in mind that this
expression returns an array of String values) andHttpServletRequest
parameters using requestParameter['foo']
Constructor and Description |
---|
SpringWebExpressionEvaluator() |
Modifier and Type | Method and Description |
---|---|
boolean |
evaluate(ExpressionEvaluationContext expressionContext,
String expression)
Evaluates a given
expression returning a boolean value. |
public boolean evaluate(ExpressionEvaluationContext expressionContext, String expression)
ExpressionEvaluator
expression
returning a boolean value.evaluate
in interface ExpressionEvaluator
expressionContext
- The context which can be used for evaluation of the expression.expression
- The expression resulting in a boolean (must not be null
).Copyright © 2017. All rights reserved.