Skip to main content

[websocket-spec~source-code-repository:107] clarified semantics of the handshake response

  • From:
  • To:
  • Subject: [websocket-spec~source-code-repository:107] clarified semantics of the handshake response
  • Date: Wed, 9 Jan 2013 00:34:00 +0000

Project:    websocket-spec
Repository: source-code-repository
Revision:   107
Author:     dannycoward
Date:       2013-01-09 00:33:59 UTC
Link:       

Log Message:
------------
clarified semantics of the handshake response

http://java.net/jira/browse/WEBSOCKET_SPEC-84



Revisions:
----------
107


Modified Paths:
---------------
trunk/api/src/main/java/javax/websocket/HandshakeResponse.java
trunk/api/src/main/java/javax/websocket/server/ServerEndpointConfiguration.java


Diffs:
------
Index: trunk/api/src/main/java/javax/websocket/HandshakeResponse.java
===================================================================
--- trunk/api/src/main/java/javax/websocket/HandshakeResponse.java      
(revision 106)
+++ trunk/api/src/main/java/javax/websocket/HandshakeResponse.java      
(revision 107)
@@ -43,8 +43,8 @@
 import java.util.Map;
 
 /**
- * The handshake response represents the web socket defined http response 
that will be
- * sent by the web socket server during the opening handshake.
+ * The handshake response represents the web socket-defined Http response
+ * that is the response to the opening handshake request.
  *
  * @author dannycoward
  */
@@ -56,9 +56,9 @@
     static String SEC_WEBSOCKET_ACCEPT = "Sec-WebSocket-Accept";
 
     /**
-     * Return the list of Http Headers that came with the handshake request.
+     * Return the list of Http headers sent by the web socket server.
      *
-     * @return the headers.
+     * @return the http headers .
      */
     Map<String, List<String>> getHeaders();
 }
Index: 
trunk/api/src/main/java/javax/websocket/server/ServerEndpointConfiguration.java
===================================================================
--- 
trunk/api/src/main/java/javax/websocket/server/ServerEndpointConfiguration.java
     (revision 106)
+++ 
trunk/api/src/main/java/javax/websocket/server/ServerEndpointConfiguration.java
     (revision 107)
@@ -108,7 +108,7 @@
      * has a matching URI, determined the validity of the origin using the 
checkOrigin method, and filled
      * out the negotiated subprotocols and extensions based on this 
configuration.
      * Custom configurations may override this method in order to inspect
-     * the request parameters and modify the handshake response.
+     * the request parameters and modify the handshake response that the 
server has formulated.
      * and the URI checking also.
      *
      * @param request  the opening handshake request.





[websocket-spec~source-code-repository:107] clarified semantics of the handshake response

dannycoward 01/09/2013
 
 
Close
loading
Please Confirm
Close