public class PollingSockJsSession extends AbstractHttpSockJsSession
logger| Constructor and Description |
|---|
PollingSockJsSession(java.lang.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(java.lang.String sessionId,
SockJsConfiguration config,
WebSocketHandler handler)
protected void flushCache()
throws java.io.IOException
AbstractHttpSockJsSessionflushCache in class AbstractHttpSockJsSessionjava.io.IOExceptionprotected void writeFrame(SockJsFrame frame) throws java.io.IOException
AbstractSockJsSessionwriteFrame in class AbstractSockJsSessionjava.io.IOException