Top Description Fields Constructors Methods
org.springframework.web.socket.sockjs

public Class SockJsMessageDeliveryException

extends SockJsException
Class Inheritance
Annotations
@SuppressWarnings:serial
Imports
java.util.List

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

Field Summary

Modifier and TypeField and Description
private final List<String>

Constructor Summary

AccessConstructor and Description
public
SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, Throwable cause)

public
SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, String message)

Method Summary

Modifier and TypeMethod and Description
public List<String>
Inherited from org.springframework.web.socket.sockjs.SockJsException:
getSockJsSessionId

Field Detail

undeliveredMessagesback to summary
private final List<String> undeliveredMessages

Constructor Detail

SockJsMessageDeliveryExceptionback to summary
public SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, Throwable cause)
SockJsMessageDeliveryExceptionback to summary
public SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, String message)

Method Detail

getUndeliveredMessagesback to summary
public List<String> getUndeliveredMessages()