| Access | Constructor and Description |
|---|---|
| public | PollingSockJsSession(String sessionId, SockJsServiceConfig config, WebSocketHandler wsHandler, Map<String, Object> attributes)
|
| Modifier and Type | Method and Description |
|---|---|
| protected void | flushCache()
Implements abstract org. Called when the connection is active and ready to write to the response. |
| protected void | handleRequestInternal(ServerHttpRequest
the current request request, ServerHttpResponse the current response response, boolean whether it is the first request for the session initialRequest)Implements abstract org. Invoked when a SockJS transport request is received. |
| protected void | writeFrame(SockJsFrame frame)
Overrides org. For internal use within a TransportHandler and the (TransportHandler-specific) session class. |
| PollingSockJsSession | back to summary |
|---|---|
| public PollingSockJsSession(String sessionId, SockJsServiceConfig config, WebSocketHandler wsHandler, Map<String, Object> attributes) | |
| flushCache | back to summary |
|---|---|
| protected void flushCache() throws SockJsTransportFailureException Implements abstract org. Doc from org. Called when the connection is active and ready to write to the response. Subclasses should only call this method from a method where the "responseLock" is acquired.
| |
| handleRequestInternal | back to summary |
|---|---|
| protected void handleRequestInternal(ServerHttpRequest request, ServerHttpResponse response, boolean initialRequest) throws IOException Implements abstract org. Invoked when a SockJS transport request is received.
| |
| writeFrame | back to summary |
|---|---|
| protected void writeFrame(SockJsFrame frame) throws SockJsTransportFailureException Overrides org. Doc from org. For internal use within a TransportHandler and the (TransportHandler-specific) session class.
| |