Add documentation of RequestMapping about SpEL

Signed-off-by: 秦利斌 <68638598+Allan-QLB@users.noreply.github.com>
This commit is contained in:
秦利斌
2025-08-08 11:37:25 +01:00
committed by rstoyanchev
parent f0a9f649c1
commit 968e037503
3 changed files with 6 additions and 2 deletions
@@ -237,7 +237,7 @@ Kotlin::
URI path patterns can also have embedded `${...}` placeholders that are resolved on startup
by using `PropertySourcesPlaceholderConfigurer` against local, system, environment, and
other property sources. You can use this, for example, to parameterize a base URL based on
some external configuration.
some external configuration. SpEL expression `#{...}` is also supported in URI path pattern by default.
NOTE: Spring WebFlux uses `PathPattern` and the `PathPatternParser` for URI path matching support.
Both classes are located in `spring-web` and are expressly designed for use with HTTP URL
@@ -220,7 +220,7 @@ Kotlin::
URI path patterns can also have embedded `${...}` placeholders that are resolved on startup
by using `PropertySourcesPlaceholderConfigurer` against local, system, environment, and
other property sources. You can use this, for example, to parameterize a base URL based on
some external configuration.
some external configuration. SpEL expression `#{...}` is also supported in URI path pattern by default.
[[mvc-ann-requestmapping-pattern-comparison]]