Package graphql.kickstart.servlet.input
Interface BatchInputPreProcessor
- All Known Implementing Classes:
NoOpBatchInputPreProcessor
public interface BatchInputPreProcessor
-
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.
-
Method Details
-
preProcessBatch
BatchInputPreProcessResult preProcessBatch(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.- Parameters:
batchedInvocationInput- the input to processrequest- the servlet requestresponse- the servlet response- Returns:
- wrapped batch to possibly process.
-