Fix Javadoc in PathPattern (#24841)
* corrected javadoc * Revert change to PathPattern Javadoc Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
This commit is contained in:
commit
0636ba68d7
|
@ -59,8 +59,8 @@ import org.springframework.util.StringUtils;
|
|||
* <li><code>/resources/{*path}</code> — matches all files
|
||||
* underneath the {@code /resources/} path and captures their relative path in
|
||||
* a variable named "path"; {@code /resources/image.png} will match with
|
||||
* "spring" → "/image.png", and {@code /resources/css/spring.css} will match
|
||||
* with "spring" → "/css/spring.css"</li>
|
||||
* "path" → "/image.png", and {@code /resources/css/spring.css} will match
|
||||
* with "path" → "/css/spring.css"</li>
|
||||
* <li><code>/resources/{filename:\\w+}.dat</code> will match {@code /resources/spring.dat}
|
||||
* and assign the value {@code "spring"} to the {@code filename} variable</li>
|
||||
* </ul>
|
||||
|
|
Loading…
Reference in New Issue