## Uses of Interface
org.springframework.web.socket.WebSocketMessage

- Packages that use WebSocketMessage
  Package | Description
  --- | ---
  org.springframework.web.socket | Common abstractions and Spring configuration support for WebSocket applications.
  org.springframework.web.socket.adapter | Classes adapting Spring's WebSocket API to and from WebSocket providers.
  org.springframework.web.socket.handler | Convenient `WebSocketHandler` implementations and decorators.
  org.springframework.web.socket.messaging | WebSocket integration for Spring's messaging module.
  org.springframework.web.socket.sockjs.client | SockJS client implementation of `WebSocketClient`.
  org.springframework.web.socket.sockjs.transport.session | SockJS specific implementations of `WebSocketSession`.

- - ### Uses of WebSocketMessage in org.springframework.web.socket

    Classes in org.springframework.web.socket that implement WebSocketMessage
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractWebSocketMessage<T>` A message that can be handled or sent on a WebSocket connection.
    `class` | `BinaryMessage` A binary WebSocket message.
    `class` | `PingMessage` A WebSocket ping message.
    `class` | `PongMessage` A WebSocket pong message.
    `class` | `TextMessage` A text WebSocket message.

    Methods in org.springframework.web.socket with parameters of type WebSocketMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | WebSocketHandler.`handleMessage(WebSocketSession session, WebSocketMessage<?> message)` Invoked when a new WebSocket message arrives.
    `void` | WebSocketSession.`sendMessage(WebSocketMessage<?> message)` Send a WebSocket message: either `TextMessage` or `BinaryMessage`.

  - ### Uses of WebSocketMessage in org.springframework.web.socket.adapter

    Methods in org.springframework.web.socket.adapter with parameters of type WebSocketMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractWebSocketSession.`sendMessage(WebSocketMessage<?> message)`

  - ### Uses of WebSocketMessage in org.springframework.web.socket.handler

    Methods in org.springframework.web.socket.handler with parameters of type WebSocketMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | ExceptionWebSocketHandlerDecorator.`handleMessage(WebSocketSession session, WebSocketMessage<?> message)`
    `void` | PerConnectionWebSocketHandler.`handleMessage(WebSocketSession session, WebSocketMessage<?> message)`
    `void` | LoggingWebSocketHandlerDecorator.`handleMessage(WebSocketSession session, WebSocketMessage<?> message)`
    `void` | WebSocketHandlerDecorator.`handleMessage(WebSocketSession session, WebSocketMessage<?> message)`
    `void` | AbstractWebSocketHandler.`handleMessage(WebSocketSession session, WebSocketMessage<?> message)`
    `void` | WebSocketSessionDecorator.`sendMessage(WebSocketMessage<?> message)`
    `void` | ConcurrentWebSocketSessionDecorator.`sendMessage(WebSocketMessage<?> message)`

    Method parameters in org.springframework.web.socket.handler with type arguments of type WebSocketMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | 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

    Methods in org.springframework.web.socket.messaging with parameters of type WebSocketMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | SubProtocolWebSocketHandler.`handleMessage(WebSocketSession session, WebSocketMessage<?> message)` Handle an inbound message from a WebSocket client.
    `void` | StompSubProtocolHandler.`handleMessageFromClient(WebSocketSession session, WebSocketMessage<?> webSocketMessage, MessageChannel outputChannel)` Handle incoming WebSocket messages from clients.
    `void` | SubProtocolHandler.`handleMessageFromClient(WebSocketSession session, WebSocketMessage<?> message, MessageChannel outputChannel)` Handle the given `WebSocketMessage` received from a client.

  - ### Uses of WebSocketMessage in org.springframework.web.socket.sockjs.client

    Methods in org.springframework.web.socket.sockjs.client with parameters of type WebSocketMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractClientSockJsSession.`sendMessage(WebSocketMessage<?> message)`

  - ### Uses of WebSocketMessage in org.springframework.web.socket.sockjs.transport.session

    Methods in org.springframework.web.socket.sockjs.transport.session with parameters of type WebSocketMessage
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractSockJsSession.`sendMessage(WebSocketMessage<?> message)`