Package io.vertx.ext.web.handler.graphql

## Interface GraphQLHandler

- All Superinterfaces:
    `Handler<RoutingContext>`

      public interface GraphQLHandler
      extends Handler<RoutingContext>

  A `Route` handler for GraphQL requests.
  Author:
    Thomas Segismont

- - ### Method Summary

    Static Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GraphQLHandlerBuilder` | `builder​(graphql.GraphQL graphQL)` | Create a new `GraphQLHandlerBuilder` that will use the provided `graphQL` to build a `GraphQLHandler`.
    `static GraphQLHandler` | `create​(graphql.GraphQL graphQL)` | Create a new `GraphQLHandler` that will use the provided `graphQL` object to execute queries.
    `static GraphQLHandler` | `create​(graphql.GraphQL graphQL, GraphQLHandlerOptions options)` | Create a new `GraphQLHandler` that will use the provided `graphQL` object to execute queries.

    - ### Methods inherited from interface io.vertx.core.Handler

      `handle`

- - ### Method Detail

    - #### create

          static GraphQLHandler create​(graphql.GraphQL graphQL)

      Create a new `GraphQLHandler` that will use the provided `graphQL` object to execute queries.

      The handler will be configured with default `options`.

    - #### create

          static GraphQLHandler create​(graphql.GraphQL graphQL,
                                       GraphQLHandlerOptions options)

      Create a new `GraphQLHandler` that will use the provided `graphQL` object to execute queries.

      The handler will be configured with the given `options`.

      Parameters:
        `options` - options for configuring the `GraphQLHandler`

    - #### builder

          static GraphQLHandlerBuilder builder​(graphql.GraphQL graphQL)

      Create a new `GraphQLHandlerBuilder` that will use the provided `graphQL` to build a `GraphQLHandler`.

      The handler will be configured with default `options`.