程序包的使用
org.springframework.web.socket.messaging
使用org.springframework.web.socket.messaging的程序包 程序包 说明 org.springframework.web.socket.config Configuration support for WebSocket request handling.org.springframework.web.socket.config.annotation Support for annotation-based WebSocket setup in configuration classes.org.springframework.web.socket.messaging WebSocket integration for Spring's messaging module.org.springframework.web.socket.config使用的org.springframework.web.socket.messaging中的类 类 说明 SubProtocolWebSocketHandler An implementation ofWebSocketHandler
that delegates incoming WebSocket messages to aSubProtocolHandler
along with aMessageChannel
to which the sub-protocol handler can send messages from WebSocket clients to the application.org.springframework.web.socket.messaging使用的org.springframework.web.socket.messaging中的类 类 说明 AbstractSubProtocolEvent A base class for events for a message received from a WebSocket client and parsed into a higher-level sub-protocol (e.g.StompSubProtocolErrorHandler ASubProtocolErrorHandler
for use with STOMP.StompSubProtocolHandler.Stats Contract for access to session counters.SubProtocolErrorHandler A contract for handling sub-protocol errors sent to clients.SubProtocolHandler A contract for handling WebSocket messages as part of a higher level protocol, referred to as "sub-protocol" in the WebSocket RFC specification.SubProtocolWebSocketHandler.Stats Contract for access to session counters.