Interface WebSocketListener

All Superinterfaces:
SubProtocolCapable
All Known Implementing Classes:
WebSocketInboundChannelAdapter

public interface WebSocketListener
extends SubProtocolCapable
A contract for handling incoming WebSocketMessages messages as part of a higher level protocol, referred to as "sub-protocol" in the WebSocket RFC specification.

Implementations of this interface can be configured on a IntegrationWebSocketContainer which delegates messages and WebSocketSession events to this implementation.

Since:
4.1
Author:
Andy Wilkinson, Artem Bilan
See Also:
WebSocketInboundChannelAdapter