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

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.

Author
Rossen Stoyanchev

Since
4.0

Constructors

<init>

SockJsMessageDeliveryException(sessionId: String, undeliveredMessages: MutableList<String>, cause: Throwable)
SockJsMessageDeliveryException(sessionId: String, undeliveredMessages: MutableList<String>, message: String)

Functions

getUndeliveredMessages

open fun getUndeliveredMessages(): MutableList<String>