Class GraphQlService

java.lang.Object
io.helidon.webserver.graphql.GraphQlService
All Implemented Interfaces:
HttpService, ServerLifecycle

public class GraphQlService extends Object implements HttpService
Support for GraphQL for Helidon WebServer.
  • Method Details

    • create

      public static GraphQlService create(graphql.schema.GraphQLSchema schema)
      Create GraphQL support for a GraphQL schema.
      Parameters:
      schema - schema to use for GraphQL
      Returns:
      a new support to register with WebServer HttpRouting
    • builder

      public static GraphQlService.Builder builder()
      A builder for fine grained configuration of the support.
      Returns:
      a new fluent API builder
    • routing

      public void routing(HttpRules rules)
      Description copied from interface: HttpService
      Updates the routing to add handlers of this service.
      Specified by:
      routing in interface HttpService
      Parameters:
      rules - to update