public class DefaultGraphQLSpringWebSocketSessionContext extends graphql.kickstart.execution.context.DefaultGraphQLContext implements GraphQLSpringWebSocketSessionContext
| Constructor and Description |
|---|
DefaultGraphQLSpringWebSocketSessionContext(org.dataloader.DataLoaderRegistry dataLoaderRegistry,
@NonNull org.springframework.web.reactive.socket.WebSocketSession webSocketSession) |
DefaultGraphQLSpringWebSocketSessionContext(org.springframework.web.reactive.socket.WebSocketSession webSocketSession) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.reactive.socket.WebSocketSession |
getWebSocketSession()
Deprecated.
Use
dataFetchingEnvironment.getGraphQlContext().get(WebSocketSession.class)
instead. Since 13.0.0 |
getDataLoaderRegistry, getMapOfContext, putpublic DefaultGraphQLSpringWebSocketSessionContext(org.springframework.web.reactive.socket.WebSocketSession webSocketSession)
public DefaultGraphQLSpringWebSocketSessionContext(org.dataloader.DataLoaderRegistry dataLoaderRegistry,
@NonNull
@NonNull org.springframework.web.reactive.socket.WebSocketSession webSocketSession)
public org.springframework.web.reactive.socket.WebSocketSession getWebSocketSession()
dataFetchingEnvironment.getGraphQlContext().get(WebSocketSession.class)
instead. Since 13.0.0getWebSocketSession in interface GraphQLSpringWebSocketSessionContext