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-webflux/src/main/java/org/springframework/web/reactive/result/method/annotation/RequestPartMethodArgumentResolver.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2020 the original author or authors.
2
+
* Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -47,7 +47,7 @@
47
47
* for a single value (e.g. Reactor {@code Mono}, RxJava {@code Single}).
48
48
*
49
49
* <p>This resolver also supports arguments of type {@link Part} which may be
50
-
* wrapped with are reactive type for a single or multiple values.
50
+
* wrapped with a reactive type for a single value or multiple values.
Copy file name to clipboardExpand all lines: spring-webmvc/src/main/java/org/springframework/web/servlet/mvc/method/annotation/RequestPartMethodArgumentResolver.java
+12-9Lines changed: 12 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2018 the original author or authors.
2
+
* Copyright 2002-2021 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -54,14 +54,17 @@
54
54
* 'Content-Type' of the request part in mind. This is analogous to what @{@link RequestBody}
55
55
* does to resolve an argument based on the content of a regular request.
56
56
*
57
-
* <p>When a parameter is not annotated or the name of the part is not specified,
58
-
* it is derived from the name of the method argument.
57
+
* <p>When a parameter is not annotated with {@code @RequestPart} or the name of
58
+
* the part is not specified, the request part's name is derived from the name of
59
+
* the method argument.
59
60
*
60
61
* <p>Automatic validation may be applied if the argument is annotated with
0 commit comments