Interface BatchInputPreProcessor

All Known Implementing Classes:
NoOpBatchInputPreProcessor

public interface BatchInputPreProcessor
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • 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 process
      request - the servlet request
      response - the servlet response
      Returns:
      wrapped batch to possibly process.