Package | Description |
---|---|
org.springframework.graphql.server |
Server transports handling GraphQL requests over the HTTP, WebSocket, and RSocket.
|
Modifier and Type | Method and Description |
---|---|
WebSocketSessionInfo |
WebSocketGraphQlRequest.getSessionInfo()
Return information about the underlying WebSocket session.
|
Modifier and Type | Method and Description |
---|---|
default 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. |
Constructor and Description |
---|
WebSocketGraphQlRequest(URI uri,
HttpHeaders headers,
Map<String,Object> body,
String id,
Locale locale,
WebSocketSessionInfo sessionInfo)
Create an instance.
|