提交 6e3deb86 编写于 作者: A Arjen Poutsma

Javadoc

Describe source of parameters for ServerRequest (i.e. query string or
form data)
上级 d6002092
......@@ -157,7 +157,8 @@ public interface ServerRequest {
Map<String, Object> 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<String, String> params();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册