Uses of Interface
org.springframework.web.socket.WebSocketMessage
Package
Description
Common abstractions and Spring configuration support for WebSocket applications.
Classes adapting Spring's WebSocket API to and from WebSocket providers.
Convenient
WebSocketHandler
implementations and decorators.WebSocket integration for Spring's messaging module.
SockJS client implementation of
WebSocketClient
.SockJS specific implementations of
WebSocketSession
.-
Uses of WebSocketMessage in org.springframework.web.socket
Modifier and TypeClassDescriptionclass
A message that can be handled or sent on a WebSocket connection.final class
A binary WebSocket message.final class
A WebSocket ping message.final class
A WebSocket pong message.final class
A text WebSocket message.Modifier and TypeMethodDescriptionvoid
WebSocketHandler.handleMessage
(WebSocketSession session, WebSocketMessage<?> message) Invoked when a new WebSocket message arrives.void
WebSocketSession.sendMessage
(WebSocketMessage<?> message) Send a WebSocket message: eitherTextMessage
orBinaryMessage
. -
Uses of WebSocketMessage in org.springframework.web.socket.adapter
Modifier and TypeMethodDescriptionfinal void
AbstractWebSocketSession.sendMessage
(WebSocketMessage<?> message) -
Uses of WebSocketMessage in org.springframework.web.socket.handler
Modifier and TypeMethodDescriptionvoid
AbstractWebSocketHandler.handleMessage
(WebSocketSession session, WebSocketMessage<?> message) void
ExceptionWebSocketHandlerDecorator.handleMessage
(WebSocketSession session, WebSocketMessage<?> message) void
LoggingWebSocketHandlerDecorator.handleMessage
(WebSocketSession session, WebSocketMessage<?> message) void
PerConnectionWebSocketHandler.handleMessage
(WebSocketSession session, WebSocketMessage<?> message) void
WebSocketHandlerDecorator.handleMessage
(WebSocketSession session, WebSocketMessage<?> message) void
ConcurrentWebSocketSessionDecorator.sendMessage
(WebSocketMessage<?> message) void
WebSocketSessionDecorator.sendMessage
(WebSocketMessage<?> message) Modifier and TypeMethodDescriptionvoid
ConcurrentWebSocketSessionDecorator.setMessageCallback
(Consumer<WebSocketMessage<?>> callback) Set a callback invoked after a message is added to the send buffer. -
Uses of WebSocketMessage in org.springframework.web.socket.messaging
Modifier and TypeMethodDescriptionvoid
SubProtocolWebSocketHandler.handleMessage
(WebSocketSession session, WebSocketMessage<?> message) Handle an inbound message from a WebSocket client.void
StompSubProtocolHandler.handleMessageFromClient
(WebSocketSession session, WebSocketMessage<?> webSocketMessage, MessageChannel targetChannel) Handle incoming WebSocket messages from clients.void
SubProtocolHandler.handleMessageFromClient
(WebSocketSession session, WebSocketMessage<?> message, MessageChannel outputChannel) Handle the givenWebSocketMessage
received from a client. -
Uses of WebSocketMessage in org.springframework.web.socket.sockjs.client
Modifier and TypeMethodDescriptionfinal void
AbstractClientSockJsSession.sendMessage
(WebSocketMessage<?> message) -
Uses of WebSocketMessage in org.springframework.web.socket.sockjs.transport.session
Modifier and TypeMethodDescriptionfinal void
AbstractSockJsSession.sendMessage
(WebSocketMessage<?> message)