You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using StandardWebSocketClient it's not possible to customize ClientEndpointConfig before it's passed to WebSocketContainer.connectToServer method [SPR-12955] #17547
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.