Class StandardWebSocketClient

java.lang.Object
org.springframework.web.reactive.socket.client.StandardWebSocketClient
All Implemented Interfaces:
WebSocketClient
Direct Known Subclasses:
TomcatWebSocketClient

public class StandardWebSocketClient extends Object implements WebSocketClient
WebSocketClient implementation for use with the Jakarta WebSocket API.
Since:
5.0
Author:
Violeta Georgieva, Rossen Stoyanchev
See Also:
  • Constructor Details

    • StandardWebSocketClient

      public StandardWebSocketClient()
      Default constructor that calls ContainerProvider.getWebSocketContainer() to obtain a (new) WebSocketContainer instance.
    • StandardWebSocketClient

      public StandardWebSocketClient(WebSocketContainer webSocketContainer)
      Constructor accepting an existing WebSocketContainer instance.
      Parameters:
      webSocketContainer - a web socket container
  • Method Details