This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Framework 7.0.6!

Language Reference

Spring Expression Language (SpEL) expressions are composed of a sequence of tokens such as literals, operators, method invocations, and so forth.

Whitespace can be used freely between tokens to format and improve the readability of expressions. Specifically, the \s (space), \t (tab), \r (carriage return), and \n (newline) characters are all valid separators between tokens. However, whitespace is ignored by the expression parser unless it is part of a string literal.

The following sections describe the features and syntax of SpEL.