Class TomcatWebSocketClient
- java.lang.Object
- org.springframework.web.reactive.socket.client.StandardWebSocketClient
- org.springframework.web.reactive.socket.client.TomcatWebSocketClient
- All Implemented Interfaces:
WebSocketClient
public class TomcatWebSocketClient extends StandardWebSocketClient
WebSocketClient
implementation for use with the Java WebSocket API.- Since:
- 5.0
- Author:
- Violeta Georgieva
Constructor Summary
Constructors Constructor Description TomcatWebSocketClient()
TomcatWebSocketClient(WebSocketContainer webSocketContainer)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StandardWebSocketSession
createWebSocketSession(Session session, HandshakeInfo info, reactor.core.publisher.MonoProcessor<Void> completion)
Methods inherited from class org.springframework.web.reactive.socket.client.StandardWebSocketClient
bufferFactory, execute, execute, getWebSocketContainer
Constructor Detail
TomcatWebSocketClient
public TomcatWebSocketClient()
TomcatWebSocketClient
public TomcatWebSocketClient(WebSocketContainer webSocketContainer)
Method Detail
createWebSocketSession
protected StandardWebSocketSession createWebSocketSession(Session session, HandshakeInfo info, reactor.core.publisher.MonoProcessor<Void> completion)
- Overrides:
createWebSocketSession
in classStandardWebSocketClient