public class PollingSockJsSession extends AbstractHttpSockJsSession
logger| Constructor and Description |
|---|
PollingSockJsSession(String sessionId,
SockJsConfiguration config,
WebSocketHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flushCache()
Only called if the connection is currently active
|
protected void |
writeFrame(SockJsFrame frame)
For internal use within a TransportHandler and the (TransportHandler-specific)
session sub-class.
|
disconnect, getMessageCache, getRequest, getResponse, isActive, resetRequest, sendMessageInternal, setInitialRequest, setLongPollingRequest, writeFrameInternal, writePreludecancelHeartbeat, close, close, delegateConnectionClosed, delegateConnectionEstablished, delegateError, delegateMessages, getId, getPrincipal, getRemoteAddress, getRemoteHostName, getSockJsConfig, getTimeSinceLastActive, getUri, isClosed, isNew, isOpen, isSecure, scheduleHeartbeat, sendHeartbeat, sendMessage, setPrincipal, setRemoteAddress, setRemoteHostName, setUri, toString, tryCloseWithSockJsTransportError, updateLastActiveTimepublic PollingSockJsSession(String sessionId, SockJsConfiguration config, WebSocketHandler handler)
protected void flushCache()
throws IOException
AbstractHttpSockJsSessionflushCache in class AbstractHttpSockJsSessionIOExceptionprotected void writeFrame(SockJsFrame frame) throws IOException
AbstractSockJsSessionwriteFrame in class AbstractSockJsSessionIOException