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 Route 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>
      • create

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

        public GraphiQLHandler graphiQLRequestHeaders​(Function<io.vertx.mutiny.ext.web.RoutingContext,​io.vertx.mutiny.core.MultiMap> factory)
        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)