public interface SockJsSession extends WebSocketSession
WebSocketSession.| Modifier and Type | Method and Description |
|---|---|
void |
disableHeartbeat()
Disable SockJS heartbeat, presumably because a higher level protocol has
heartbeats enabled for the session.
|
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, setTextMessageSizeLimitlong getTimeSinceLastActive()
void disableHeartbeat()