All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.kickstart.servlet.input.NoOpBatchInputPreProcessor Maven / Gradle / Ivy

package graphql.kickstart.servlet.input;

import graphql.kickstart.execution.input.GraphQLBatchedInvocationInput;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/** A default BatchInputPreProcessor that returns the input. */
public class NoOpBatchInputPreProcessor implements BatchInputPreProcessor {

  @Override
  public BatchInputPreProcessResult preProcessBatch(
      GraphQLBatchedInvocationInput batchedInvocationInput,
      HttpServletRequest request,
      HttpServletResponse response) {
    return new BatchInputPreProcessResult(batchedInvocationInput);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy