Class GraphQlSupport

java.lang.Object
io.helidon.graphql.server.GraphQlSupport
All Implemented Interfaces:
Service

public class GraphQlSupport extends Object implements Service
Support for GraphQL for Helidon WebServer.
  • Method Details

    • create

      public static GraphQlSupport 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 Routing.Builder
    • builder

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

      public void update(Routing.Rules rules)
      Description copied from interface: Service
      Updates Routing.Rules with handlers representing this service.
      Specified by:
      update in interface Service
      Parameters:
      rules - a routing rules to update