类 SockJsMessageDeliveryException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.core.NestedRuntimeException
- org.springframework.web.socket.sockjs.SockJsException
- org.springframework.web.socket.sockjs.SockJsMessageDeliveryException
- 所有已实现的接口:
Serializable
public class SockJsMessageDeliveryException extends 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.
- 从以下版本开始:
- 4.0
- 作者:
- Rossen Stoyanchev
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, String message)
SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, Throwable cause)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<String>
getUndeliveredMessages()
从类继承的方法 org.springframework.web.socket.sockjs.SockJsException
getSockJsSessionId
从类继承的方法 org.springframework.core.NestedRuntimeException
contains, getMessage, getMostSpecificCause, getRootCause
构造器详细资料
SockJsMessageDeliveryException
public SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, Throwable cause)
SockJsMessageDeliveryException
public SockJsMessageDeliveryException(String sessionId, List<String> undeliveredMessages, String message)
方法详细资料
getUndeliveredMessages
public List<String> getUndeliveredMessages()