public class DefaultGraphQLWebSocketContext extends graphql.kickstart.execution.context.DefaultGraphQLContext implements GraphQLWebSocketContext
Modifier and Type | Class and Description |
---|---|
static class |
DefaultGraphQLWebSocketContext.Builder |
Modifier and Type | Method and Description |
---|---|
static DefaultGraphQLWebSocketContext.Builder |
createWebSocketContext() |
static DefaultGraphQLWebSocketContext.Builder |
createWebSocketContext(org.dataloader.DataLoaderRegistry registry,
javax.security.auth.Subject subject) |
javax.websocket.server.HandshakeRequest |
getHandshakeRequest() |
javax.websocket.Session |
getSession() |
getDataLoaderRegistry, getSubject
public static DefaultGraphQLWebSocketContext.Builder createWebSocketContext(org.dataloader.DataLoaderRegistry registry, javax.security.auth.Subject subject)
public static DefaultGraphQLWebSocketContext.Builder createWebSocketContext()
public javax.websocket.Session getSession()
getSession
in interface GraphQLWebSocketContext
public javax.websocket.server.HandshakeRequest getHandshakeRequest()
getHandshakeRequest
in interface GraphQLWebSocketContext