From 55b56b8c5ccd5aa67856ace3d6a0eb184fea42f0 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 7 May 2019 15:24:33 +0200 Subject: [PATCH] Javadoc Closes gh-22893 --- .../springframework/web/servlet/function/ServerRequest.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerRequest.java b/spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerRequest.java index 75db76d0e1..5cab7169d4 100644 --- a/spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerRequest.java +++ b/spring-webmvc/src/main/java/org/springframework/web/servlet/function/ServerRequest.java @@ -156,9 +156,10 @@ public interface ServerRequest { Map attributes(); /** - * Get the first query parameter with the given name, if present. + * Get the first parameter with the given name, if present. * @param name the parameter name * @return the parameter value + * @see HttpServletRequest#getParameter(String) */ default Optional param(String name) { List paramValues = params().get(name); @@ -175,7 +176,8 @@ public interface ServerRequest { } /** - * Get all query parameters for this request. + * Get all parameters for this request. + * @see HttpServletRequest#getParameterMap() */ MultiValueMap params();