WebSocket+Springboot
1.1 PoM file dependencies and plug-ins
1.2 WebSocket Configuration file
Used to launch webSocket, inject handler, and interceptor
1.3 ChatHandshakeInterceptor
It is used to intercept each Websocket before the handshake and can be verified internally
1.4 ChatMessageHandler Message handler
Used to process messages when they are received
1.5 Springboot Boot class
Note that this class is best placed under the root package
1.6 Configuration classes of the Web Boot Option
1.7 HTML
This parameter is consistent with non-Springboot
1.8 Starting tests