Rostislav Georgiev Georgiev opened SPR-12955 and commented
StandardWebSocketClient in it's doHandshakeInternal method is using ClientEndpointConfig.Builder to initialize ClientEndpointConfig and is passing it directly to WebSocketContainer.connectToServer method.
ClientEndpointConfig has a UserProperties map, which can used to pass additional Container specific configurations. E.g. for example Tomcat WebSocket container will check userProperties for "org.apache.tomcat.websocket.SSL_CONTEXT" to setup SSLEngine.
It would be nice to have a way to supply StandardWebSocketClient with custom UserProperties.
Affects: 4.1.6
Referenced from: commits 222f699