Class GraphiQLHandlerBuilder


  • public class GraphiQLHandlerBuilder
    extends Object
    A builder for GraphiQLHandler instances.

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

    • Constructor Detail

      • GraphiQLHandlerBuilder

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

        public GraphiQLHandlerBuilder​(Object delegate)
    • Method Detail

      • hashCode

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

        public io.vertx.ext.web.handler.graphql.GraphiQLHandlerBuilder getDelegate()
      • with

        public GraphiQLHandlerBuilder with​(io.vertx.ext.web.handler.graphql.GraphiQLHandlerOptions options)
        Change the GraphiQLHandlerOptions to use.
        Parameters:
        options -
        Returns:
        a reference to this, so the API can be used fluently
      • addingHeaders

        public GraphiQLHandlerBuilder addingHeaders​(Function<RoutingContext,​MultiMap> factory)
        Customize the HTTP headers to add to GraphQL requests sent by the GraphiQL user interface. The result will be applied on top of the fixed set of headers specified in GraphiQLHandlerOptions.

        This can be useful if, for example, the server is protected by authentication.

        Parameters:
        factory -
        Returns:
        a reference to this, so the API can be used fluently
      • newInstance

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