Liberty V8.5.5.7 and traditional WebSphere Application Server V9.0 introduce the com.ibm.websphere.wsoc.WsWsocServerContainer doUpgrade WebSocket method,
which enables a servlet or filter to request that the current HTTP request be upgraded to a WebSocket session.
Apache Tomcat provides similar capability through the org.apache.tomcat.websocket.server.WsServerContainer doUpgrade
method.
This rule flags the Tomcat WsServerContainer doUpgrade method so that you
can migrate it to the WsWsocServerContainer doUpgrade method.
The WebSphere Application Server method is defined as follows:
com.ibm.websphere.wsoc.WsWsocServerContainer public void doUpgrade(HttpServletRequest request, HttpServletResponse response, ServerEndpointConfig sec, java.util.Map<java.lang.String, java.lang.String> pathParams) throws ServletException, java.io.IOException }
For more information and a link to the Java documentation, see