[Spring] The difference between @Value("#{}") and @Value("${}")

前言

Reprinted: https://www.cnblogs.com/But-you/p/10682186.html

Spel expression is spring expression.
In java code, there is this way of writing:

@Value("#{'${auth.filter.exclude-urls}'.split(',')}")
private List<String> authFilterExcludeUrls;

Guess you like

Origin blog.csdn.net/s1441101265/article/details/107608372