io.vertx.ext.web.handler.graphql

## Interface GraphQLHandlerBuilder

-     public interface GraphQLHandlerBuilder

  A builder for `GraphQLHandler` instances.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `GraphQLHandlerBuilder` | `beforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)` Set a callback to invoke before executing a GraphQL query.
    `GraphQLHandler` | `build()`
    `GraphQLHandlerBuilder` | `with(GraphQLHandlerOptions options)` Change the `GraphQLHandlerOptions` to use.

- - ### Method Detail

    - #### with

          GraphQLHandlerBuilder with(GraphQLHandlerOptions options)

      Change the `GraphQLHandlerOptions` to use.
      Returns:
        a reference to this, so the API can be used fluently

    - #### beforeExecute

          GraphQLHandlerBuilder beforeExecute(Handler<ExecutionInputBuilderWithContext<RoutingContext>> beforeExecuteHandler)

      Set a callback to invoke before executing a GraphQL query.
      Parameters:
        `beforeExecuteHandler` - the callback to invoke
      Returns:
        a reference to this, so the API can be used fluently

    - #### build

          GraphQLHandler build()

      Returns:
        a new instance of `GraphQLHandler`

Copyright © 2025 Eclipse. All rights reserved.