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
Copy file name to clipboardExpand all lines: spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java
+31-24Lines changed: 31 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,6 @@
21
21
importjava.util.Collection;
22
22
importjava.util.List;
23
23
importjava.util.Map;
24
-
25
24
importjavax.servlet.ServletException;
26
25
importjavax.servlet.http.HttpServletRequest;
27
26
@@ -80,35 +79,45 @@ public class RequestParamMethodArgumentResolver extends AbstractNamedValueMethod
80
79
81
80
privatefinalbooleanuseDefaultResolution;
82
81
82
+
83
+
/**
84
+
* @param useDefaultResolution in default resolution mode a method argument
85
+
* that is a simple type, as defined in {@link BeanUtils#isSimpleProperty},
86
+
* is treated as a request parameter even if it it isn't annotated, the
87
+
* request parameter name is derived from the method parameter name.
0 commit comments