
graphql.kickstart.servlet.input.NoOpBatchInputPreProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-java-servlet Show documentation
Show all versions of graphql-java-servlet Show documentation
relay.js-compatible GraphQL servlet
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 - 2025 Weber Informatics LLC | Privacy Policy