Class GraphiQLHandler

  • All Implemented Interfaces:
    io.vertx.core.Handler<io.vertx.mutiny.ext.web.RoutingContext>, Consumer<io.vertx.mutiny.ext.web.RoutingContext>

    public class GraphiQLHandler
    extends Object
    implements io.vertx.core.Handler<io.vertx.mutiny.ext.web.RoutingContext>, Consumer<io.vertx.mutiny.ext.web.RoutingContext>
    A handler for GraphiQL resources.

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

    • Field Detail

      • __TYPE_ARG

        public static final io.smallrye.mutiny.vertx.TypeArg<GraphiQLHandler> __TYPE_ARG
    • Constructor Detail

      • GraphiQLHandler

        public GraphiQLHandler​(io.vertx.ext.web.handler.graphql.GraphiQLHandler delegate)
      • GraphiQLHandler

        public GraphiQLHandler​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.handler.graphql.GraphiQLHandler getDelegate()
      • hashCode

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

        public void handle​(io.vertx.mutiny.ext.web.RoutingContext arg0)
        Specified by:
        handle in interface io.vertx.core.Handler<io.vertx.mutiny.ext.web.RoutingContext>
      • builder

        public static GraphiQLHandlerBuilder builder​(io.vertx.mutiny.core.Vertx vertx)
        Parameters:
        vertx -
        Returns:
      • create

        public static GraphiQLHandler create​(io.vertx.mutiny.core.Vertx vertx)
        Parameters:
        vertx -
        Returns:
      • create

        public static GraphiQLHandler create​(io.vertx.mutiny.core.Vertx vertx,
                                             io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)
        Parameters:
        vertx -
        options - options for configuring the GraphiQLHandler
        Returns:
      • router

        public io.vertx.mutiny.ext.web.Router router()
        Returns:
        a router to be mounted on an existing Route
      • graphiQLRequestHeaders

        @Deprecated
        public GraphiQLHandler graphiQLRequestHeaders​(Function<io.vertx.mutiny.ext.web.RoutingContext,​io.vertx.mutiny.core.MultiMap> factory)
        Deprecated.
        as of 4.5.1, use builder(Vertx) instead
        Parameters:
        factory -
        Returns:
        a reference to this, so the API can be used fluently
      • accept

        public void accept​(io.vertx.mutiny.ext.web.RoutingContext item)
        Specified by:
        accept in interface Consumer<io.vertx.mutiny.ext.web.RoutingContext>
      • newInstance

        public static GraphiQLHandler newInstance​(io.vertx.ext.web.handler.graphql.GraphiQLHandler arg)