The com.ibm.websphere.wsoc.WsWsocServerContainer.doUpgrade(HttpServletRequest, HttpServletResponse,
ServerEndpointConfig, java.util.Map<String,​String>) method is deprecated. It is replaced by the
new Jakarta WebSocket 2.1 specification jakarta.websocket.server.ServerContainer.upgradeHttpToWebSocket(
Object, Object, ServerEndpointConfig, java.util.Map<String,​String>) method.
For more information, see the WsWsocServerContainer Javadoc and Jakarta WebSocket 2.1 Javadoc.