Skip to content

Commit

Permalink
Polish contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed May 27, 2020
1 parent d6cab25 commit 3cbc297
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/docs/asciidoc/web/webflux.adoc
Expand Up @@ -1408,10 +1408,7 @@ You can map requests by using glob patterns and wildcards:

| `+?+`
| Matches one character
| `+"/pages/t?st.html"+`

matches `+"/pages/test.html"+`
and `+"/pages/t3st.html"+`
| `+"/pages/t?st.html"+` matches `+"/pages/test.html"+` and `+"/pages/t3st.html"+`

| `+*+`
| Matches zero or more characters within a path segment
Expand All @@ -1435,7 +1432,7 @@ and `+"/pages/t3st.html"+`

| `+{*path}+`
| Matches zero or more path segments until the end of the path and captures it as a variable named "path"
| `+"/resources/{*file}"+` matches `+"/resources/images/file.png"+` and captures `+file=/images/file.png+`
| `+"/resources/{*file}"+` matches `+"/resources/images/file.png"+` and captures `+file=images/file.png+`

|===

Expand Down Expand Up @@ -1502,8 +1499,8 @@ URI variables can be named explicitly (for example, `@PathVariable("customId")`)
leave that detail out if the names are the same and you compile your code with debugging
information or with the `-parameters` compiler flag on Java 8.

The syntax `{*varName}` declares a URI variable that matches zero or more remaining
path segments. For example `/resources/{*path}` matches all files `/resources/` and the
The syntax `{*varName}` declares a URI variable that matches zero or more remaining path
segments. For example `/resources/{*path}` matches all files under `/resources/`, and the
`"path"` variable captures the complete relative path.

The syntax `{varName:regex}` declares a URI variable with a regular expression that has the
Expand Down

0 comments on commit 3cbc297

Please sign in to comment.