Skip to content

Commit 55b56b8

Browse files
committed
Javadoc
Closes gh-22893
1 parent 59f6044 commit 55b56b8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerRequest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,10 @@ default Optional<Object> attribute(String name) {
156156
Map<String, Object> attributes();
157157

158158
/**
159-
* Get the first query parameter with the given name, if present.
159+
* Get the first parameter with the given name, if present.
160160
* @param name the parameter name
161161
* @return the parameter value
162+
* @see HttpServletRequest#getParameter(String)
162163
*/
163164
default Optional<String> param(String name) {
164165
List<String> paramValues = params().get(name);
@@ -175,7 +176,8 @@ default Optional<String> param(String name) {
175176
}
176177

177178
/**
178-
* Get all query parameters for this request.
179+
* Get all parameters for this request.
180+
* @see HttpServletRequest#getParameterMap()
179181
*/
180182
MultiValueMap<String, String> params();
181183

0 commit comments

Comments
 (0)