Update @RequestParam javadoc

Issue: SPR-10180
This commit is contained in:
Rossen Stoyanchev
2013-03-01 15:00:20 -05:00
parent 33e723b4a8
commit 3abe05c65e

View File

@@ -68,8 +68,9 @@ public @interface RequestParam {
boolean required() default true;
/**
* The default value to use as a fallback. Supplying a default value implicitly
* sets {@link #required()} to false.
* The default value to use as a fallback when the request parameter value
* is not provided or empty. Supplying a default value implicitly sets
* {@link #required()} to false.
*/
String defaultValue() default ValueConstants.DEFAULT_NONE;