public class StreamingSockJsSession extends AbstractHttpSockJsSession
logger| Constructor and Description |
|---|
StreamingSockJsSession(String sessionId,
SockJsServiceConfig config,
WebSocketHandler wsHandler,
Map<String,Object> attributes) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
flushCache()
Only called if the connection is currently active
|
void |
handleInitialRequest(ServerHttpRequest request,
ServerHttpResponse response,
SockJsFrame.FrameFormat frameFormat) |
protected void |
resetRequest() |
protected void |
writeFrameInternal(SockJsFrame frame) |
afterRequestUpdated, disconnect, getAcceptedProtocol, getExtensions, getHandshakeHeaders, getLocalAddress, getMessageCache, getPrincipal, getRemoteAddress, getRequest, getResponse, getUri, isActive, sendMessageInternal, setAcceptedProtocol, setHandshakeHeaders, setLocalAddress, setPrincipal, setRemoteAddress, startLongPollingRequest, writePreludecancelHeartbeat, close, close, delegateConnectionClosed, delegateConnectionEstablished, delegateError, delegateMessages, getHandshakeAttributes, getId, getSockJsServiceConfig, getTimeSinceLastActive, isClosed, isNew, isOpen, scheduleHeartbeat, sendHeartbeat, sendMessage, toString, tryCloseWithSockJsTransportError, updateLastActiveTime, writeFramepublic StreamingSockJsSession(String sessionId, SockJsServiceConfig config, WebSocketHandler wsHandler, Map<String,Object> attributes)
public void handleInitialRequest(ServerHttpRequest request, ServerHttpResponse response, SockJsFrame.FrameFormat frameFormat) throws SockJsException
handleInitialRequest in class AbstractHttpSockJsSessionSockJsExceptionprotected void flushCache()
throws SockJsTransportFailureException
AbstractHttpSockJsSessionflushCache in class AbstractHttpSockJsSessionSockJsTransportFailureExceptionprotected void resetRequest()
resetRequest in class AbstractHttpSockJsSessionprotected void writeFrameInternal(SockJsFrame frame) throws IOException
writeFrameInternal in class AbstractHttpSockJsSessionIOException