程序包 org.springframework.web.socket
Common abstractions and Spring configuration support for WebSocket applications.
接口概要 接口 说明 SubProtocolCapable An interface for WebSocket handlers that support sub-protocols as defined in RFC 6455.WebSocketHandler A handler for WebSocket messages and lifecycle events.WebSocketMessage<T> A message that can be handled or sent on a WebSocket connection.WebSocketSession A WebSocket session abstraction.类概要 类 说明 AbstractWebSocketMessage<T> A message that can be handled or sent on a WebSocket connection.BinaryMessage A binary WebSocket message.CloseStatus Represents a WebSocket close status code and reason.PingMessage A WebSocket ping message.PongMessage A WebSocket pong message.TextMessage A text WebSocket message.WebSocketExtension Represents a WebSocket extension as defined in the RFC 6455.WebSocketHttpHeaders AnHttpHeaders
variant that adds support for the HTTP headers defined by the WebSocket specification RFC 6455.