
graphql.kickstart.servlet.input.BatchInputPreProcessor 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;
public interface BatchInputPreProcessor {
/**
* An injectable object that allows clients to manipulate a batch before executing, or abort
* altogether.
*
* @param batchedInvocationInput the input to process
* @param request the servlet request
* @param response the servlet response
* @return wrapped batch to possibly process.
*/
BatchInputPreProcessResult preProcessBatch(
GraphQLBatchedInvocationInput batchedInvocationInput,
HttpServletRequest request,
HttpServletResponse response);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy