Skip to main content

[websocket-spec~source-code-repository:327] javadoc tweaks for connectToServer(Class c) rejecting non-annotated en

  • From:
  • To:
  • Subject: [websocket-spec~source-code-repository:327] javadoc tweaks for connectToServer(Class<?> c) rejecting non-annotated en
  • Date: Tue, 2 Apr 2013 17:23:55 +0000

Project:    websocket-spec
Repository: source-code-repository
Revision:   327
Author:     dannycoward
Date:       2013-04-02 17:23:53 UTC
Link:       

Log Message:
------------
javadoc tweaks for connectToServer(Class<?> c) rejecting non-annotated 
endpoints, and making ClientEndpointConfig.Configurator non-abstract.


Revisions:
----------
327


Modified Paths:
---------------
trunk/api/client/src/main/java/javax/websocket/ClientEndpointConfig.java
trunk/api/client/src/main/java/javax/websocket/WebSocketContainer.java


Diffs:
------
Index: 
trunk/api/client/src/main/java/javax/websocket/ClientEndpointConfig.java
===================================================================
--- trunk/api/client/src/main/java/javax/websocket/ClientEndpointConfig.java  
  (revision 326)
+++ trunk/api/client/src/main/java/javax/websocket/ClientEndpointConfig.java  
  (revision 327)
@@ -90,13 +90,13 @@
     public ClientEndpointConfig.Configurator getConfigurator();
 
     /**
-     * The Configurator interface may be implemented by developers who want 
to
+     * The Configurator class may be extended by developers who want to
      * provide custom configuration algorithms, such as intercepting the 
opening handshake, or
      * providing arbitrary methods and algorithms that can be accessed from 
each endpoint
      * instance configured with this configurator.
 
      */
-    public abstract class Configurator {
+    public class Configurator {
 
         /**
          * This method is called by the implementation after it has 
formulated the handshake
Index: trunk/api/client/src/main/java/javax/websocket/WebSocketContainer.java
===================================================================
--- trunk/api/client/src/main/java/javax/websocket/WebSocketContainer.java    
  (revision 326)
+++ trunk/api/client/src/main/java/javax/websocket/WebSocketContainer.java    
  (revision 327)
@@ -115,7 +115,7 @@
      * @param annotatedEndpointClass the annotated websocket client endpoint.
      * @param path                   the complete path to the server 
endpoint.
      * @return the Session created if the connection is successful.
-     * @throws DeploymentException if the annotated endpoint class is not 
valid.
+     * @throws DeploymentException if the class is not a valid annotated 
endpoint class.
      * @throws IOException if there was a network or protocol problem that 
      * prevented the client endpoint being connected to its server.
      * @throws IllegalStateException if called during the deployment phase





[websocket-spec~source-code-repository:327] javadoc tweaks for connectToServer(Class<?> c) rejecting non-annotated en

dannycoward 04/02/2013
 
 
Close
loading
Please Confirm
Close