Top Description Constructors Methods
org.springframework.web.reactive.socket.client

public Class TomcatWebSocketClient

extends StandardWebSocketClient
Class Inheritance
Imports
jakarta.websocket.Session, .WebSocketContainer, org.apache.tomcat.websocket.WsWebSocketContainer, reactor.core.publisher.Sinks, org.springframework.web.reactive.socket.HandshakeInfo, org.springframework.web.reactive.socket.adapter.StandardWebSocketSession, .TomcatWebSocketSession

WebSocketClient implementation for use with Tomcat, based on the Jakarta WebSocket API.
Author
Violeta Georgieva
Since
5.0
See Also
StandardWebSocketClient

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
protected StandardWebSocketSession
Inherited from org.springframework.web.reactive.socket.client.StandardWebSocketClient:
bufferFactorycreateEndpointConfigexecuteexecutegetWebSocketContainer

Constructor Detail

TomcatWebSocketClientback to summary
public TomcatWebSocketClient()
TomcatWebSocketClientback to summary
public TomcatWebSocketClient(WebSocketContainer webSocketContainer)

Method Detail

createWebSocketSessionback to summary
protected StandardWebSocketSession createWebSocketSession(Session session, HandshakeInfo info, Sinks.Empty<Void> completionSink)

Overrides org.springframework.web.reactive.socket.client.StandardWebSocketClient.createWebSocketSession.

Doc from org.springframework.web.reactive.socket.client.StandardWebSocketClient.createWebSocketSession.

Create the StandardWebSocketSession for the given Jakarta WebSocket Session.

Annotations
@Override