Class VertxTypesafeGraphQLClientBuilder

java.lang.Object
io.smallrye.graphql.client.vertx.typesafe.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 Details

    • VertxTypesafeGraphQLClientBuilder

      public VertxTypesafeGraphQLClientBuilder()
  • Method Details

    • configKey

      public VertxTypesafeGraphQLClientBuilder configKey(String configKey)
      Specified by:
      configKey in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
    • vertx

      public VertxTypesafeGraphQLClientBuilder vertx(io.vertx.core.Vertx vertx)
    • client

      public VertxTypesafeGraphQLClientBuilder client(io.vertx.ext.web.client.WebClient webClient)
    • options

      public VertxTypesafeGraphQLClientBuilder options(io.vertx.core.http.HttpClientOptions options)
    • 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
    • header

      public VertxTypesafeGraphQLClientBuilder header(String name, String value)
      Specified by:
      header in interface io.smallrye.graphql.client.typesafe.api.TypesafeGraphQLClientBuilder
    • dynamicHeader

      public VertxTypesafeGraphQLClientBuilder dynamicHeader(String name, io.smallrye.mutiny.Uni<String> value)
    • initPayload

      public VertxTypesafeGraphQLClientBuilder initPayload(Map<String,Object> initPayload)
      Specified by:
      initPayload 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
    • clientModels

      public VertxTypesafeGraphQLClientBuilder clientModels(ClientModels clientModels)
    • 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