Interface ActionContext

    • Method Detail

      • size

        int size()
        Returns the number of local variables
      • checkCondition

        boolean checkCondition​(String expression)
                        throws javax.el.ELException
        Returns true if given expression resolves to true in this context.

        Returns false if expression is blank (null or empty).

        Throws:
        javax.el.ELException
      • evalExpression

        <T> T evalExpression​(String expression,
                             Class<T> expectedType)
                      throws javax.el.ELException
        Evaluates the given expression and returns the result cast to the given expectedType.
        Returns:
        the result of the expression evaluation
        Throws:
        javax.el.ELException
        Since:
        10.2
      • disableGlobalCaching

        boolean disableGlobalCaching()
        Returns true if expressions evaluation should not be cached globally