Affects Version/s: None
Fix Version/s: None
At present (PR draft), @WebSocketEndpoint has a configuration attribute that is a required attribute. This means all the applications (even if they don't want to configure anything) need to pass a subclass of DefaultServerConfiguration. IMO, that's not usuable at all.
DefaultServerConfiguration also has methods to set encoder, decoders and that would conflict with @WebSocketEndpoint's encoders/decoders attributes. That means spec need to define how an impl would construct effective encoders and decoders list.
Moreover, the signature should be something like the following :
public Class<? extends ServerEndpointConfiguration> configuration() default DefaultServerConfiguration.class;
Then, the spec need to define how the configuration object is instantiated and whether it is used per instance or not etc.