Package graphql.kickstart.servlet.input
Class NoOpBatchInputPreProcessor
java.lang.Object
graphql.kickstart.servlet.input.NoOpBatchInputPreProcessor
- All Implemented Interfaces:
BatchInputPreProcessor
A default BatchInputPreProcessor that returns the input.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpreProcessBatch(graphql.kickstart.execution.input.GraphQLBatchedInvocationInput batchedInvocationInput, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) An injectable object that allows clients to manipulate a batch before executing, or abort altogether.
-
Constructor Details
-
NoOpBatchInputPreProcessor
public NoOpBatchInputPreProcessor()
-
-
Method Details
-
preProcessBatch
public BatchInputPreProcessResult preProcessBatch(graphql.kickstart.execution.input.GraphQLBatchedInvocationInput batchedInvocationInput, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response) Description copied from interface:BatchInputPreProcessorAn injectable object that allows clients to manipulate a batch before executing, or abort altogether.- Specified by:
preProcessBatchin interfaceBatchInputPreProcessor- Parameters:
batchedInvocationInput- the input to processrequest- the servlet requestresponse- the servlet response- Returns:
- wrapped batch to possibly process.
-