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

graphql.kickstart.servlet.ConfiguredGraphQLHttpServlet Maven / Gradle / Ivy

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

import java.util.Objects;

class ConfiguredGraphQLHttpServlet extends GraphQLHttpServlet {

  private final GraphQLConfiguration configuration;

  ConfiguredGraphQLHttpServlet(GraphQLConfiguration configuration) {
    this.configuration = Objects.requireNonNull(configuration, "configuration is required");
  }

  @Override
  protected GraphQLConfiguration getConfiguration() {
    return configuration;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy