Class GraphQLHandler

    • Constructor Detail

      • GraphQLHandler

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

        public GraphQLHandler​(Object delegate)
    • Method Detail

      • getDelegate

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

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

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

        public static GraphQLHandler create​(graphql.GraphQL graphQL,
                                            io.vertx.ext.web.handler.graphql.GraphQLHandlerOptions options)
        Parameters:
        graphQL -
        options - options for configuring the GraphQLHandler
        Returns:
      • getRoutingContext

        public static RoutingContext getRoutingContext​(graphql.GraphQLContext graphQlContext)
        Parameters:
        graphQlContext - the GraphQL context object
        Returns:
        the
      • dataLoaderRegistry

        @Deprecated
        public GraphQLHandler dataLoaderRegistry​(Function<RoutingContext,​org.dataloader.DataLoaderRegistry> factory)
        Deprecated.
        as of 4.2, use #beforeExecute(Handler) instead
        Parameters:
        factory -
        Returns:
        a reference to this, so the API can be used fluently
      • newInstance

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