Class DefaultGraphQLExecutor
java.lang.Object
io.leangen.graphql.spqr.spring.web.mvc.websocket.DefaultGraphQLExecutor
- All Implemented Interfaces:
GraphQLExecutor<org.springframework.web.socket.WebSocketSession>,GraphQLWebSocketExecutor
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultGraphQLExecutor(WebSocketContextFactory contextFactory, DataLoaderRegistryFactory dataLoaderRegistryFactory) -
Method Summary
Modifier and TypeMethodDescriptiongraphql.ExecutionResultexecute(graphql.GraphQL graphQL, ExecutorParams<org.springframework.web.socket.WebSocketSession> params) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.leangen.graphql.spqr.spring.web.GraphQLExecutor
buildInput, buildInput
-
Constructor Details
-
DefaultGraphQLExecutor
public DefaultGraphQLExecutor(WebSocketContextFactory contextFactory, DataLoaderRegistryFactory dataLoaderRegistryFactory)
-
-
Method Details
-
execute
public graphql.ExecutionResult execute(graphql.GraphQL graphQL, ExecutorParams<org.springframework.web.socket.WebSocketSession> params) - Specified by:
executein interfaceGraphQLExecutor<org.springframework.web.socket.WebSocketSession>- Specified by:
executein interfaceGraphQLWebSocketExecutor
-