Skip to main content

[websocket-spec~source-code-repository:110] typed the extensions to Extension not String in the Lists returned

  • From:
  • To:
  • Subject: [websocket-spec~source-code-repository:110] typed the extensions to Extension not String in the Lists returned
  • Date: Wed, 9 Jan 2013 00:54:30 +0000

Project:    websocket-spec
Repository: source-code-repository
Revision:   110
Author:     dannycoward
Date:       2013-01-09 00:54:27 UTC
Link:       

Log Message:
------------
typed the extensions to Extension not String in the Lists returned


Revisions:
----------
110


Modified Paths:
---------------
trunk/api/src/main/java/javax/websocket/Session.java
trunk/api/src/main/java/javax/websocket/ClientEndpointConfiguration.java


Diffs:
------
Index: 
trunk/api/src/main/java/javax/websocket/ClientEndpointConfiguration.java
===================================================================
--- trunk/api/src/main/java/javax/websocket/ClientEndpointConfiguration.java  
  (revision 109)
+++ trunk/api/src/main/java/javax/websocket/ClientEndpointConfiguration.java  
  (revision 110)
@@ -67,9 +67,9 @@
      * using this configuration. The first extension in the list is the most 
preferred extension.
      * See <a 
href="http://tools.ietf.org/html/rfc6455#section-9.1";>Negotiating 
Extensions</a>.
      *
-     * @return a list of extensions.
+     * @return the list of extensions.
      */
-    List<String> getExtensions();
+    List<Extension> getExtensions();
 
     /**
      * This method is called by the implementation after it has formulated 
the handshake
Index: trunk/api/src/main/java/javax/websocket/Session.java
===================================================================
--- trunk/api/src/main/java/javax/websocket/Session.java        (revision 109)
+++ trunk/api/src/main/java/javax/websocket/Session.java        (revision 110)
@@ -115,7 +115,7 @@
      *
      * @return the negotiated extensions.
      */
-    List<String> getNegotiatedExtensions();
+    List<Extension> getNegotiatedExtensions();
 
     /**
      * Return true if and only if the underlying socket is using a secure 
transport.





[websocket-spec~source-code-repository:110] typed the extensions to Extension not String in the Lists returned

dannycoward 01/09/2013
 
 
Close
loading
Please Confirm
Close