mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing contribution
Closes gh-35232
This commit is contained in:
+4
-4
@@ -105,11 +105,11 @@ public @interface RequestMapping {
|
||||
|
||||
/**
|
||||
* The path mapping URIs — for example, {@code "/profile"}.
|
||||
* <p>Ant-style path patterns are also supported (for example, {@code "/profile/**"}).
|
||||
* At the method level, relative paths (for example, {@code "edit"}) are supported
|
||||
* <p>Ant-style path patterns are also supported, e.g. {@code "/profile/**"}.
|
||||
* At the method level, relative paths, e.g., {@code "edit"} are supported
|
||||
* within the primary mapping expressed at the type level.
|
||||
* Path mapping URIs may contain placeholders (for example, <code>"/${profile_path}"</code>).
|
||||
* By default, SpEL expression is also supported (for example {@code "/profile/#{@bean.property}"}).
|
||||
* Path mapping URIs may contain property placeholders, e.g. <code>"/${profile_path}"</code>,
|
||||
* and SpEL expressions, e.g. {@code "/profile/#{@bean.property}"}.
|
||||
* <p><b>Supported at the type level as well as at the method level!</b>
|
||||
* When used at the type level, all method-level mappings inherit
|
||||
* this primary mapping, narrowing it for a specific handler method.
|
||||
|
||||
Reference in New Issue
Block a user