Skip to content

Commit

Permalink
Fix #203. Clarify return value of getRequestParameterMap()
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Thomas <markt@apache.org>
  • Loading branch information
markt-asf committed May 14, 2020
1 parent f593eb2 commit 4710b8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/client/src/main/java/jakarta/websocket/Session.java
Expand Up @@ -259,7 +259,10 @@ public interface Session extends Closeable {
URI getRequestURI();

/**
* Return the request parameters associated with the request this session was opened under.
* Return the request parameters associated with the request this session was opened under. The request parameters
* will have been part of the HTTP upgrade request which is limited by RFC 6455 to only use the HTTP GET method.
* Therefore, the parameters in the returned Map will be a representation of the parameters contained in the query
* string.
*
* @return the unmodifiable map of the request parameters.
*/
Expand Down

0 comments on commit 4710b8f

Please sign in to comment.