请访问:https://docs.spring.io/spring-framework/reference/6.1/web/websocket.html Spring Framework Web on Servlet Stack WebSockets Testing WebSocket API