Uses of Class
org.springframework.web.socket.sockjs.SockJsException
Package
Description
Top-level SockJS types.
Support classes for SockJS including an
AbstractSockJsService
implementation.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 SockJsException in org.springframework.web.socket.sockjs
Modifier and TypeClassDescriptionclass
An exception thrown when a message frame was successfully received over an HTTP POST and parsed but one or more of the messages it contained could not be delivered to the WebSocketHandler either because the handler failed or because the connection got closed.class
Indicates a serious failure that occurred in the SockJS implementation as opposed to in user code (for example, IOException while writing to the response).Modifier and TypeMethodDescriptionvoid
SockJsService.handleRequest
(ServerHttpRequest request, ServerHttpResponse response, String sockJsPath, WebSocketHandler handler) Process a SockJS HTTP request. -
Uses of SockJsException in org.springframework.web.socket.sockjs.support
Modifier and TypeMethodDescriptionfinal void
AbstractSockJsService.handleRequest
(ServerHttpRequest request, ServerHttpResponse response, String sockJsPath, WebSocketHandler wsHandler) This method determines the SockJS path and handles SockJS static URLs.protected abstract void
AbstractSockJsService.handleTransportRequest
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler webSocketHandler, String sessionId, String transport) Handle a SockJS session URL (i.e. -
Uses of SockJsException in org.springframework.web.socket.sockjs.transport
Modifier and TypeMethodDescriptionvoid
TransportHandler.handleRequest
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler handler, SockJsSession session) Handle the given request and delegate messages to the providedWebSocketHandler
.protected void
TransportHandlingSockJsService.handleTransportRequest
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler handler, String sessionId, String transport) -
Uses of SockJsException in org.springframework.web.socket.sockjs.transport.handler
Modifier and TypeMethodDescriptionfinal 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) protected void
AbstractHttpReceivingTransportHandler.handleRequestInternal
(ServerHttpRequest request, ServerHttpResponse response, WebSocketHandler wsHandler, AbstractHttpSockJsSession sockJsSession) protected void
AbstractHttpSendingTransportHandler.handleRequestInternal
(ServerHttpRequest request, ServerHttpResponse response, AbstractHttpSockJsSession sockJsSession) void
HtmlFileTransportHandler.handleRequestInternal
(ServerHttpRequest request, ServerHttpResponse response, AbstractHttpSockJsSession sockJsSession) -
Uses of SockJsException in org.springframework.web.socket.sockjs.transport.session
Modifier and TypeMethodDescriptionvoid
AbstractHttpSockJsSession.handleInitialRequest
(ServerHttpRequest request, ServerHttpResponse response, SockJsFrameFormat frameFormat) Handle the first request for receiving messages on a SockJS HTTP transport based session.void
AbstractHttpSockJsSession.handleSuccessiveRequest
(ServerHttpRequest request, ServerHttpResponse response, SockJsFrameFormat frameFormat) Handle all requests, except the first one, to receive messages on a SockJS HTTP transport based session.