Package graphql.kickstart.servlet.input
Class NoOpBatchInputPreProcessor
- java.lang.Object
-
- graphql.kickstart.servlet.input.NoOpBatchInputPreProcessor
-
- All Implemented Interfaces:
BatchInputPreProcessor
public class NoOpBatchInputPreProcessor extends java.lang.Object implements BatchInputPreProcessor
A default BatchInputPreProcessor that returns the input.
-
-
Constructor Summary
Constructors Constructor Description NoOpBatchInputPreProcessor()
-
Method Summary
All Methods Instance Methods Concrete 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
public BatchInputPreProcessResult preProcessBatch(graphql.kickstart.execution.input.GraphQLBatchedInvocationInput batchedInvocationInput, javax.servlet.http.HttpServletRequest request, javax.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.
-
-