public interface SockJsSession extends WebSocketSession
WebSocketSession
.Modifier and Type | Method and Description |
---|---|
void |
disableHeartbeat()
Disable the SockJS heartbeat, presumably because a higher-level protocol
has heartbeats enabled for the session already.
|
long |
getTimeSinceLastActive()
Return the time (in ms) since the session was last active, or otherwise
if the session is new, then the time since the session was created.
|
close, close, getAcceptedProtocol, getAttributes, getBinaryMessageSizeLimit, getExtensions, getHandshakeHeaders, getId, getLocalAddress, getPrincipal, getRemoteAddress, getTextMessageSizeLimit, getUri, isOpen, sendMessage, setBinaryMessageSizeLimit, setTextMessageSizeLimit
long getTimeSinceLastActive()
void disableHeartbeat()