Class GraphiQLHandler

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

public class GraphiQLHandler extends Object implements MutinyDelegate
A handler for GraphiQL resources.

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

Author:
Thomas Segismont
See Also:
  • GraphiQLHandler
  • Field Details

  • Constructor Details

    • GraphiQLHandler

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

      public GraphiQLHandler(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.handler.graphql.GraphiQLHandler 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
    • create

      public static GraphiQLHandler create(Vertx vertx)
      Create a new GraphiQLHandler.

      The handler will be configured with default options.

    • create

      public static GraphiQLHandler create(Vertx vertx, io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)
      Create a new GraphiQLHandler.

      The handler will be configured with the given options.

      Parameters:
      options - options for configuring the GraphiQLHandler
    • builder

      public static GraphiQLHandlerBuilder builder(Vertx vertx)
      Create a new GraphiQLHandlerBuilder with default GraphiQLHandlerOptions.
    • router

      public Router router()
      Creates a router configured to serve GraphiQL resources.
      Returns:
      a router to be mounted on an existing Route
      See Also:
      • io.vertx.ext.web.Route#subRouter(Router)
    • newInstance

      public static GraphiQLHandler newInstance(io.vertx.ext.web.handler.graphql.GraphiQLHandler delegate)
      Creates a new instance of the GraphiQLHandler.
    • 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