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

graphql.servlet.GraphQLSingleInvocationInput Maven / Gradle / Ivy

There is a newer version: 16.0.0
Show newest version
package graphql.servlet;

import graphql.ExecutionInput;
import graphql.schema.GraphQLSchema;
import graphql.servlet.internal.GraphQLRequest;

/**
 * @author Andrew Potter
 */
public class GraphQLSingleInvocationInput extends GraphQLInvocationInput {

    private final GraphQLRequest request;

    public GraphQLSingleInvocationInput(GraphQLRequest request, GraphQLSchema schema, GraphQLContext context, Object root) {
        super(schema, context, root);

        this.request = request;
    }

    public ExecutionInput getExecutionInput() {
        return createExecutionInput(request);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy