Uses of Interface
org.springframework.graphql.server.WebSocketSessionInfo
Package
Description
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
-
Uses of WebSocketSessionInfo in org.springframework.graphql.server
Modifier and TypeMethodDescriptionWebSocketGraphQlRequest.getSessionInfo()
Return information about the underlying WebSocket session.Modifier and TypeMethodDescriptiondefault reactor.core.publisher.Mono<Void>
WebSocketGraphQlInterceptor.handleCancelledSubscription
(WebSocketSessionInfo sessionInfo, String subscriptionId) Handle the"complete"
message that a client sends to stop a subscription stream.default void
WebSocketGraphQlInterceptor.handleConnectionClosed
(WebSocketSessionInfo sessionInfo, int statusCode, Map<String, Object> connectionInitPayload) Invoked when the WebSocket session is closed, from either side.default reactor.core.publisher.Mono<Object>
WebSocketGraphQlInterceptor.handleConnectionInitialization
(WebSocketSessionInfo sessionInfo, Map<String, Object> connectionInitPayload) Handle the"connection_init"
message at the start of a GraphQL over WebSocket session and return an optional payload for the"connection_ack"
message to send back.ModifierConstructorDescriptionWebSocketGraphQlRequest
(URI uri, HttpHeaders headers, Map<String, Object> body, String id, Locale locale, WebSocketSessionInfo sessionInfo) Deprecated.as of 1.1.3 in favor of the constructor with cookiesWebSocketGraphQlRequest
(URI uri, HttpHeaders headers, MultiValueMap<String, HttpCookie> cookies, Map<String, Object> attributes, Map<String, Object> body, String id, Locale locale, WebSocketSessionInfo sessionInfo) Create an instance.