Class WebSocketDisconnectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.graphql.client.GraphQlClientException
org.springframework.graphql.client.GraphQlTransportException
org.springframework.graphql.client.WebSocketDisconnectedException
- All Implemented Interfaces:
- Serializable
WebSocket related 
GraphQlTransportException raised when the connection
 is closed while a request or subscription is in progress.- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionWebSocketDisconnectedException(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.
- 
Method SummaryMethods inherited from class org.springframework.graphql.client.GraphQlClientExceptiongetRequestMethods inherited from class org.springframework.core.NestedRuntimeExceptioncontains, getMostSpecificCause, getRootCauseMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
WebSocketDisconnectedExceptionpublic 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.- Parameters:
- closeStatusMessage- the message received when the connection was closed
- request- the ongoing request when the connection was closed
- status- the received close status
 
 
- 
- 
Method Details- 
getCloseStatusReturn theCloseStatusused to close the WebSocket session.
 
-