Skip to content

Commit f6eaa8e

Browse files
committed
Add missing callouts
1 parent cd27fbe commit f6eaa8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

framework-docs/src/docs/asciidoc/web/webmvc.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,6 +1938,7 @@ You can also use the same with request header conditions, as the following examp
19381938
// ...
19391939
}
19401940
----
1941+
<1> Testing whether `myHeader` equals `myValue`.
19411942

19421943
TIP: You can match `Content-Type` and `Accept` with the headers condition, but it is better to use
19431944
<<mvc-ann-requestmapping-consumes, consumes>> and <<mvc-ann-requestmapping-produces, produces>>
@@ -2826,6 +2827,7 @@ You can automatically apply validation after data binding by adding the
28262827
// ...
28272828
}
28282829
----
2830+
<1> Validate the `Pet` instance.
28292831

28302832
Note that using `@ModelAttribute` is optional (for example, to set its attributes).
28312833
By default, any argument that is not a simple value type (as determined by
@@ -2945,6 +2947,7 @@ as the following example shows:
29452947
// ...
29462948
}
29472949
----
2950+
<1> Using a `@SessionAttribute` annotation.
29482951

29492952
For use cases that require adding or removing session attributes, consider injecting
29502953
`org.springframework.web.context.request.WebRequest` or

0 commit comments

Comments
 (0)