We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e723b commit 3abe05cCopy full SHA for 3abe05c
spring-web/src/main/java/org/springframework/web/bind/annotation/RequestParam.java
@@ -68,8 +68,9 @@
68
boolean required() default true;
69
70
/**
71
- * The default value to use as a fallback. Supplying a default value implicitly
72
- * 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
73
+ * {@link #required()} to false.
74
*/
75
String defaultValue() default ValueConstants.DEFAULT_NONE;
76
0 commit comments