You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/web/method/annotation/AbstractNamedValueMethodArgumentResolver.java
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -39,16 +39,19 @@
39
39
* Abstract base class for resolving method arguments from a named value.
40
40
* Request parameters, request headers, and path variables are examples of named
41
41
* values. Each may have a name, a required flag, and a default value.
42
+
*
42
43
* <p>Subclasses define how to do the following:
43
44
* <ul>
44
45
* <li>Obtain named value information for a method parameter
45
46
* <li>Resolve names into argument values
46
47
* <li>Handle missing argument values when argument values are required
47
48
* <li>Optionally handle a resolved value
48
49
* </ul>
50
+
*
49
51
* <p>A default value string can contain ${...} placeholders and Spring Expression
50
52
* Language #{...} expressions. For this to work a
51
53
* {@link ConfigurableBeanFactory} must be supplied to the class constructor.
54
+
*
52
55
* <p>A {@link WebDataBinder} is created to apply type conversion to the resolved
53
56
* argument value if it doesn't match the method parameter type.
54
57
*
@@ -63,7 +66,8 @@ public abstract class AbstractNamedValueMethodArgumentResolver implements Handle
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java
0 commit comments