spring-framework / org.springframework.web.socket.sockjs

Package org.springframework.web.socket.sockjs

Exceptions

SockJsMessageDeliveryException

open class SockJsMessageDeliveryException : SockJsException

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.

The SockJS session is not automatically closed after this exception.

SockJsTransportFailureException

open class SockJsTransportFailureException : SockJsException

Indicates a serious failure that occurred in the SockJS implementation as opposed to in user code (e.g. IOException while writing to the response). When this exception is raised, the SockJS session is typically closed.