Class VertxTypesafeGraphQLClientBuilder

  • All Implemented Interfaces:
    io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder

    public class VertxTypesafeGraphQLClientBuilder
    extends Object
    implements io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
    • Constructor Detail

      • VertxTypesafeGraphQLClientBuilder

        public VertxTypesafeGraphQLClientBuilder()
    • Method Detail

      • endpoint

        public VertxTypesafeGraphQLClientBuilder endpoint​(URI endpoint)
        Specified by:
        endpoint in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
      • websocketUrl

        public io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder websocketUrl​(String url)
        Specified by:
        websocketUrl in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
      • executeSingleOperationsOverWebsocket

        public io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder executeSingleOperationsOverWebsocket​(boolean value)
        Specified by:
        executeSingleOperationsOverWebsocket in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
      • subprotocols

        public VertxTypesafeGraphQLClientBuilder subprotocols​(io.smallrye.graphql.client.websocket.WebsocketSubprotocol... subprotocols)
        Specified by:
        subprotocols in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
      • allowUnexpectedResponseFields

        public io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder allowUnexpectedResponseFields​(boolean value)
        Specified by:
        allowUnexpectedResponseFields in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
      • websocketInitializationTimeout

        public VertxTypesafeGraphQLClientBuilder websocketInitializationTimeout​(Integer timeoutInMilliseconds)
        Specified by:
        websocketInitializationTimeout in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
      • build

        public <T> T build​(Class<T> apiClass)
        Specified by:
        build in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder