Package graphql.kickstart.servlet.input
Interface BatchInputPreProcessor
-
- All Known Implementing Classes:
NoOpBatchInputPreProcessor
public interface BatchInputPreProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchInputPreProcessResultpreProcessBatch(graphql.kickstart.execution.input.GraphQLBatchedInvocationInput batchedInvocationInput, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)An injectable object that allows clients to manipulate a batch before executing, or abort altogether.
-
-
-
Method Detail
-
preProcessBatch
BatchInputPreProcessResult preProcessBatch(graphql.kickstart.execution.input.GraphQLBatchedInvocationInput batchedInvocationInput, javax.servlet.http.HttpServletRequest request, javax.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.
-
-