Skip to main content

[websocket-spec~source-code-repository:106] made configuration() attribute optional, per the specification document

  • From:
  • To:
  • Subject: [websocket-spec~source-code-repository:106] made configuration() attribute optional, per the specification document
  • Date: Wed, 9 Jan 2013 00:19:16 +0000

Project:    websocket-spec
Repository: source-code-repository
Revision:   106
Author:     dannycoward
Date:       2013-01-09 00:19:15 UTC
Link:       

Log Message:
------------
made configuration() attribute optional, per the specification document


Revisions:
----------
106


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


Diffs:
------
Index: trunk/api/src/main/java/javax/websocket/server/WebSocketEndpoint.java
===================================================================
--- trunk/api/src/main/java/javax/websocket/server/WebSocketEndpoint.java     
  (revision 105)
+++ trunk/api/src/main/java/javax/websocket/server/WebSocketEndpoint.java     
  (revision 106)
@@ -117,9 +117,10 @@
 
     /**
      * The custom configuration class that the developer would like to use
-     * to configure new instances of this endpoint.
+     * to configure new instances of this endpoint. If no configuration class
+     * is provided, the implementation uses its own.
      *
      * @return the custom configuration class.
      */
-    public Class<? extends DefaultServerConfiguration> configuration();
+    public Class<? extends DefaultServerConfiguration> configuration() 
default javax.websocket.server.DefaultServerConfiguration.class;
 }





[websocket-spec~source-code-repository:106] made configuration() attribute optional, per the specification document

dannycoward 01/09/2013
 
 
Close
loading
Please Confirm
Close