public class WebSocketDisconnectedException extends GraphQlTransportException
GraphQlTransportException
raised when the connection
is closed while a request or subscription is in progress.Constructor and Description |
---|
WebSocketDisconnectedException(String closeStatusMessage,
GraphQlRequest request,
CloseStatus status)
Constructor with an explanation about the closure, along with the request
details and the status used to close the WebSocket session.
|
Modifier and Type | Method and Description |
---|---|
CloseStatus |
getCloseStatus()
Return the
CloseStatus used to close the WebSocket session. |
getRequest
contains, getMessage, getMostSpecificCause, getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WebSocketDisconnectedException(String closeStatusMessage, GraphQlRequest request, CloseStatus status)
public CloseStatus getCloseStatus()
CloseStatus
used to close the WebSocket session.