Class GraphQLHandlerBuilder

java.lang.Object
io.vertx.mutiny.ext.web.handler.graphql.GraphQLHandlerBuilder
All Implemented Interfaces:
MutinyDelegate

public class GraphQLHandlerBuilder extends Object implements MutinyDelegate
A builder for GraphQLHandler instances.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

See Also:
  • GraphQLHandlerBuilder
  • Field Details

  • Constructor Details

    • GraphQLHandlerBuilder

      public GraphQLHandlerBuilder(io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder delegate)
      Create a new instance of GraphQLHandlerBuilder delegating to the given (non-null) instance of GraphQLHandlerBuilder.
    • GraphQLHandlerBuilder

      public GraphQLHandlerBuilder(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • with

      public GraphQLHandlerBuilder with(io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions options)
      Change the GraphQLHandlerOptions to use.
      Returns:
      a reference to this, so the API can be used fluently
    • beforeExecute

      public GraphQLHandlerBuilder beforeExecute(Consumer<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

      public GraphQLHandler build()
      Returns:
      a new instance of GraphQLHandler
    • newInstance

      public static GraphQLHandlerBuilder newInstance(io.vertx.ext.web.handler.graphql.GraphQLHandlerBuilder delegate)
      Creates a new instance of the GraphQLHandlerBuilder.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object