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();