public class DefaultGraphQLBatchExecutionHandlerFactory extends java.lang.Object implements GraphQLBatchExecutionHandlerFactory
Constructor and Description |
---|
DefaultGraphQLBatchExecutionHandlerFactory() |
Modifier and Type | Method and Description |
---|---|
BatchExecutionHandler |
getBatchHandler(java.io.Writer respWriter,
GraphQLObjectMapper graphQLObjectMapper)
Produces an BatchExecutionHandler instance for a specific response.
|
public DefaultGraphQLBatchExecutionHandlerFactory()
public BatchExecutionHandler getBatchHandler(java.io.Writer respWriter, GraphQLObjectMapper graphQLObjectMapper)
GraphQLBatchExecutionHandlerFactory
getBatchHandler
in interface GraphQLBatchExecutionHandlerFactory
respWriter
- to send the response backgraphQLObjectMapper
- to serialize results.