接口的使用
org.springframework.web.socket.SubProtocolCapable
使用SubProtocolCapable的程序包 程序包 说明 org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.web.socket.sockjs.transport.handler TransportHandlerimplementation classes as well as a concreteSockJsService.org.springframework.web.socket.messaging中SubProtocolCapable的使用
实现SubProtocolCapable的org.springframework.web.socket.messaging中的类 修饰符和类型 类 说明 classSubProtocolWebSocketHandlerAn implementation ofWebSocketHandlerthat delegates incoming WebSocket messages to aSubProtocolHandleralong with aMessageChannelto which the sub-protocol handler can send messages from WebSocket clients to the application.org.springframework.web.socket.sockjs.transport.handler中SubProtocolCapable的使用
实现SubProtocolCapable的org.springframework.web.socket.sockjs.transport.handler中的类 修饰符和类型 类 说明 classSockJsWebSocketHandlerAn implementation ofWebSocketHandlerthat adds SockJS messages frames, sends SockJS heartbeat messages, and delegates lifecycle events and messages to a targetWebSocketHandler.