Skip to content

Commit d04a640

Browse files
committed
Polish Javadoc for @RequestMapping
1 parent 9de8367 commit d04a640

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-web/src/main/java/org/springframework/web/bind/annotation/RequestMapping.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,11 @@
103103
String[] value() default {};
104104

105105
/**
106-
* The path mapping URIs (e.g. {@code "/myPath.do"}).
107-
* <p>Ant-style path patterns are also supported (e.g. {@code "/myPath/*.do"}).
108-
* At the method level, relative paths (e.g. {@code "edit.do"}) are supported
106+
* The path mapping URIs (e.g. {@code "/profile"}).
107+
* <p>Ant-style path patterns are also supported (e.g. {@code "/profile/**"}).
108+
* At the method level, relative paths (e.g. {@code "edit"}) are supported
109109
* within the primary mapping expressed at the type level.
110-
* Path mapping URIs may contain placeholders (e.g. <code>"/${connect}"</code>).
110+
* Path mapping URIs may contain placeholders (e.g. <code>"/${profile_path}"</code>).
111111
* <p><b>Supported at the type level as well as at the method level!</b>
112112
* When used at the type level, all method-level mappings inherit
113113
* this primary mapping, narrowing it for a specific handler method.

0 commit comments

Comments
 (0)