Apache Tomcat WsServerContainer doUpgrade 메소드 사용 안함

Liberty V8.5.5.7 및 traditional WebSphere Application Server V9.0에 com.ibm.websphere.wsoc.WsWsocServerContainer doUpgrade WebSocket 메소드가 도입되어, 서블릿 또는 필터가 현재 HTTP 요청을 WebSocket 세션으로 업그레이드하도록 요청할 수 있습니다. Apache Tomcat은 org.apache.tomcat.websocket.server.WsServerContainer doUpgrade 메소드를 통해 유사한 기능을 제공합니다.

이 규칙은 WsWsocServerContainer doUpgrade 메소드로 마이그레이션할 수 있도록 Tomcat WsServerContainer doUpgrade 메소드에 플래그를 지정합니다.

WebSphere Application Server 메소드는 다음과 같이 정의됩니다.


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

}

자세한 정보와 Java 문서에 대한 링크는 다음을 참조하십시오.