public class TomcatWebSocketSession extends StandardWebSocketSession
WebSocketSession adapter for Tomcat's
 Session.AbstractListenerWebSocketSession.WebSocketSendProcessorlogger| Constructor and Description | 
|---|
TomcatWebSocketSession(Session session,
                      HandshakeInfo info,
                      DataBufferFactory factory)  | 
TomcatWebSocketSession(Session session,
                      HandshakeInfo info,
                      DataBufferFactory factory,
                      reactor.core.publisher.MonoProcessor<Void> completionMono)
Deprecated.  
 | 
TomcatWebSocketSession(Session session,
                      HandshakeInfo info,
                      DataBufferFactory factory,
                      reactor.core.publisher.Sinks.Empty<Void> completionSink)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
canSuspendReceiving()
Whether the underlying WebSocket API has flow control and can suspend and
 resume the receiving of messages. 
 | 
protected void | 
resumeReceiving()
Resume receiving new message(s) after demand is generated by the
 downstream Subscriber. 
 | 
protected void | 
suspendReceiving()
Suspend receiving until received message(s) are processed and more demand
 is generated by the downstream Subscriber. 
 | 
close, isOpen, sendMessagecloseStatus, getSendProcessor, onComplete, onError, onNext, onSubscribe, receive, sendbinaryMessage, bufferFactory, getAttributes, getDelegate, getHandshakeInfo, getId, getLogPrefix, pingMessage, pongMessage, textMessage, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitclosepublic TomcatWebSocketSession(Session session, HandshakeInfo info, DataBufferFactory factory)
public TomcatWebSocketSession(Session session, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.Sinks.Empty<Void> completionSink)
@Deprecated public TomcatWebSocketSession(Session session, HandshakeInfo info, DataBufferFactory factory, reactor.core.publisher.MonoProcessor<Void> completionMono)
protected boolean canSuspendReceiving()
AbstractListenerWebSocketSessionNote: Sub-classes are encouraged to start out in suspended mode, if possible, and wait until demand is received.
canSuspendReceiving in class StandardWebSocketSessionprotected void suspendReceiving()
AbstractListenerWebSocketSessionNote: if the underlying WebSocket API does not provide
 flow control for receiving messages, this method should be a no-op
 and AbstractListenerWebSocketSession.canSuspendReceiving() should return false.
suspendReceiving in class StandardWebSocketSessionprotected void resumeReceiving()
AbstractListenerWebSocketSessionNote: if the underlying WebSocket API does not provide
 flow control for receiving messages, this method should be a no-op
 and AbstractListenerWebSocketSession.canSuspendReceiving() should return false.
resumeReceiving in class StandardWebSocketSession