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, writePrelude
cancelHeartbeat, 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, updateLastActiveTime
public PollingSockJsSession(java.lang.String sessionId, SockJsConfiguration config, WebSocketHandler handler)
protected void flushCache() throws java.io.IOException
AbstractHttpSockJsSession
flushCache
in class AbstractHttpSockJsSession
java.io.IOException
protected void writeFrame(SockJsFrame frame) throws java.io.IOException
AbstractSockJsSession
writeFrame
in class AbstractSockJsSession
java.io.IOException