public class PollingSockJsSession extends AbstractHttpSockJsSession
DISCONNECTED_CLIENT_LOG_CATEGORY, disconnectedClientLogger, logger, responseLock
コンストラクターと説明 |
---|
PollingSockJsSession(StringSE sessionId, SockJsServiceConfig config, WebSocketHandler wsHandler, MapSE<StringSE, ObjectSE> attributes) |
修飾子と型 | メソッドと説明 |
---|---|
protected void | flushCache() 接続がアクティブで、レスポンスに書き込む準備ができたときに呼び出されます。 |
protected void | handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, boolean initialRequest) SockJS トランスポートリクエストが受信されると呼び出されます。 |
protected void | writeFrame(SockJsFrame frame) TransportHandler および(TransportHandler 固有の)セッションクラス内で内部的に使用します。 |
disconnect, getAcceptedProtocol, getBinaryMessageSizeLimit, getExtensions, getHandshakeHeaders, getLocalAddress, getMessageCache, getPrincipal, getRemoteAddress, getTextMessageSizeLimit, getUri, handleInitialRequest, handleSuccessiveRequest, isActive, resetRequest, sendMessageInternal, setAcceptedProtocol, setBinaryMessageSizeLimit, setTextMessageSizeLimit, writeFrameInternal
cancelHeartbeat, close, close, delegateConnectionClosed, delegateConnectionEstablished, delegateError, delegateMessages, disableHeartbeat, getAttributes, getId, getMessageCodec, getSockJsServiceConfig, getTimeSinceLastActive, isClosed, isNew, isOpen, scheduleHeartbeat, sendHeartbeat, sendMessage, toString, tryCloseWithSockJsTransportError, updateLastActiveTime
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public PollingSockJsSession(StringSE sessionId, SockJsServiceConfig config, WebSocketHandler wsHandler, MapSE<StringSE,ObjectSE> attributes)
protected void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, boolean initialRequest) throws IOExceptionSE
AbstractHttpSockJsSession
AbstractHttpSockJsSession
の handleRequestInternal
request
- 現在のリクエスト response
- 現在のレスポンス initialRequest
- セッションの最初のリクエストかどうか IOExceptionSE
protected void flushCache() throws SockJsTransportFailureException
AbstractHttpSockJsSession
AbstractHttpSockJsSession
の flushCache
SockJsTransportFailureException
protected void writeFrame(SockJsFrame frame) throws SockJsTransportFailureException
AbstractSockJsSession
AbstractSockJsSession
の writeFrame
SockJsTransportFailureException