Class GraphQLWSHandler

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

    public class GraphQLWSHandler
    extends Object
    implements io.vertx.mutiny.ext.web.handler.ProtocolUpgradeHandler, io.vertx.core.Handler<io.vertx.mutiny.ext.web.RoutingContext>, Consumer<io.vertx.mutiny.ext.web.RoutingContext>
    A handler for the GraphQL over WebSocket Protocol.

    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<GraphQLWSHandler> __TYPE_ARG
    • Constructor Detail

      • GraphQLWSHandler

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

        public GraphQLWSHandler​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.ext.web.handler.graphql.ws.GraphQLWSHandler getDelegate()
        Specified by:
        getDelegate in interface io.vertx.mutiny.ext.web.handler.ProtocolUpgradeHandler
      • 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>
        Specified by:
        handle in interface io.vertx.mutiny.ext.web.handler.ProtocolUpgradeHandler
      • builder

        public static GraphQLWSHandlerBuilder builder​(graphql.GraphQL graphQL)
        Parameters:
        graphQL -
        Returns:
      • create

        public static GraphQLWSHandler create​(graphql.GraphQL graphQL)
        Parameters:
        graphQL -
        Returns:
      • create

        public static GraphQLWSHandler create​(graphql.GraphQL graphQL,
                                              io.vertx.ext.web.handler.graphql.ws.GraphQLWSOptions options)
        Parameters:
        graphQL -
        options - options for configuring the GraphQLWSOptions
        Returns:
      • accept

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

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