-
public class GraphQLRequestHandler
-
-
Constructor Summary
Constructors Constructor Description GraphQLRequestHandler(GraphQL graphQL, DataLoaderRegistryFactory dataLoaderRegistryFactory)
-
Method Summary
Modifier and Type Method Description GraphQLResponse<?>
executeRequest(GraphQLRequest request, GraphQLContext context, Map<?, Object> graphQLContext)
Execute a GraphQL request in a non-blocking fashion. -
-
Constructor Detail
-
GraphQLRequestHandler
GraphQLRequestHandler(GraphQL graphQL, DataLoaderRegistryFactory dataLoaderRegistryFactory)
-
-
Method Detail
-
executeRequest
GraphQLResponse<?> executeRequest(GraphQLRequest request, GraphQLContext context, Map<?, Object> graphQLContext)
Execute a GraphQL request in a non-blocking fashion. This should only be used for queries and mutations. Subscriptions require more specific server logic and will need to be handled separately.
-
-
-
-