Uses of Interface
org.springframework.web.socket.sockjs.transport.SockJsSession
Package
Description
Server-side support for SockJS transports including
TransportHandler
implementations
for processing incoming requests, their
session
counterparts for sending messages over the various transports, and
DefaultSockJsService
.TransportHandler
implementation classes as well as a concrete
SockJsService
.SockJS specific implementations of
WebSocketSession
.-
Uses of SockJsSession in org.springframework.web.socket.sockjs.transport
Modifier and TypeMethodDescriptionSockJsSessionFactory.createSession
(String sessionId, WebSocketHandler handler, Map<String, Object> attributes) Create a new SockJS session.Modifier and TypeMethodDescriptionboolean
TransportHandler.checkSessionType
(SockJsSession session) Check whether the type of the given session matches the transport type of thisTransportHandler
where session id and the transport type are extracted from the SockJS URL.void
TransportHandler.handleRequest
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler handler, SockJsSession session) Handle the given request and delegate messages to the providedWebSocketHandler
. -
Uses of SockJsSession in org.springframework.web.socket.sockjs.transport.handler
Modifier and TypeMethodDescriptionboolean
AbstractHttpReceivingTransportHandler.checkSessionType
(SockJsSession session) boolean
EventSourceTransportHandler.checkSessionType
(SockJsSession session) boolean
HtmlFileTransportHandler.checkSessionType
(SockJsSession session) boolean
WebSocketTransportHandler.checkSessionType
(SockJsSession session) boolean
XhrPollingTransportHandler.checkSessionType
(SockJsSession session) boolean
XhrStreamingTransportHandler.checkSessionType
(SockJsSession session) final void
AbstractHttpReceivingTransportHandler.handleRequest
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, SockJsSession wsSession) final void
AbstractHttpSendingTransportHandler.handleRequest
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, SockJsSession wsSession) void
WebSocketTransportHandler.handleRequest
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, SockJsSession wsSession) -
Uses of SockJsSession in org.springframework.web.socket.sockjs.transport.session
Modifier and TypeClassDescriptionclass
An abstract base class for use with HTTP transport SockJS sessions.class
An abstract base class for SockJS sessions implementingSockJsSession
.class
A SockJS session for use with polling HTTP transports.class
A SockJS session for use with streaming HTTP transports.class
A SockJS session for use with the WebSocket transport.