public class DefaultGraphQLWebSocketContext extends 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) |
java.util.Optional<java.lang.Object> |
getConnectResult() |
javax.websocket.server.HandshakeRequest |
getHandshakeRequest() |
javax.websocket.Session |
getSession() |
getDataLoaderRegistry, getSubject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataLoaderRegistry, getSubject
public javax.websocket.Session getSession()
getSession
in interface GraphQLWebSocketContext
public java.util.Optional<java.lang.Object> getConnectResult()
getConnectResult
in interface GraphQLWebSocketContext
public javax.websocket.server.HandshakeRequest getHandshakeRequest()
getHandshakeRequest
in interface GraphQLWebSocketContext
public static DefaultGraphQLWebSocketContext.Builder createWebSocketContext(org.dataloader.DataLoaderRegistry registry, javax.security.auth.Subject subject)
public static DefaultGraphQLWebSocketContext.Builder createWebSocketContext()