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

## Interface GraphiQLHandler

-     public interface GraphiQLHandler

  A handler for GraphiQL resources.
  Author:
    Thomas Segismont

- - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static GraphiQLHandlerBuilder` | `builder​(Vertx vertx)` | Create a new `GraphiQLHandlerBuilder` with default `GraphiQLHandlerOptions`.
    `static GraphiQLHandler` | `create​(Vertx vertx)` | Create a new `GraphiQLHandler`.
    `static GraphiQLHandler` | `create​(Vertx vertx, GraphiQLHandlerOptions options)` | Create a new `GraphiQLHandler`.
    `Router` | `router()` | Creates a router configured to serve GraphiQL resources.

- - ### Method Detail

    - #### create

          static GraphiQLHandler create​(Vertx vertx)

      Create a new `GraphiQLHandler`.

      The handler will be configured with default `options`.

    - #### create

          static GraphiQLHandler create​(Vertx vertx,
                                        GraphiQLHandlerOptions options)

      Create a new `GraphiQLHandler`.

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

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

    - #### builder

          static GraphiQLHandlerBuilder builder​(Vertx vertx)

      Create a new `GraphiQLHandlerBuilder` with default `GraphiQLHandlerOptions`.

    - #### router

          Router router()

      Creates a router configured to serve GraphiQL resources.
      Returns:
        a router to be mounted on an existing `Route`
      See Also:
        `Route.subRouter(Router)`