From 6e3deb86f18b212fa99c502d4b07e3e21f43829c Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 5 Nov 2019 14:30:31 +0100 Subject: [PATCH] Javadoc Describe source of parameters for ServerRequest (i.e. query string or form data) --- .../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 cb049682d5..2f7fb62724 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 @@ -157,7 +157,8 @@ public interface ServerRequest { Map attributes(); /** - * Get the first parameter with the given name, if present. + * Get the first parameter with the given name, if present. Servlet + * parameters are contained in the query string or posted form data. * @param name the parameter name * @return the parameter value * @see HttpServletRequest#getParameter(String) @@ -177,7 +178,8 @@ public interface ServerRequest { } /** - * Get all parameters for this request. + * Get all parameters for this request. Servlet parameters are contained + * in the query string or posted form data. * @see HttpServletRequest#getParameterMap() */ MultiValueMap params();