Class GraphQLClientConfig
java.lang.Object
io.quarkus.smallrye.graphql.client.runtime.GraphQLClientConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionAllowing unexpected fields in response.If true, then queries and mutations will run over the websocket transport rather than pure HTTP.HTTP headers to add when communicating with the target GraphQL service.Additional payload sent on websocket initialization.Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated.Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated.Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated.Maximum number of redirects to follow.Hostname of the proxy to use.Password for the proxy to use.Port number of the proxy to use.Username for the proxy to use.WebSocket subprotocols that should be supported by this client for running GraphQL operations over websockets.The name of the TLS configuration (bucket) used for client authentication in the TLS registry.Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated.Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated.Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated.The URL location of the target GraphQL service.Maximum time in milliseconds that will be allowed to wait for the server to acknowledge a websocket connection (send a subprotocol-specific ACK message). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
url
The URL location of the target GraphQL service. -
headers
HTTP headers to add when communicating with the target GraphQL service. -
subprotocols
WebSocket subprotocols that should be supported by this client for running GraphQL operations over websockets. Allowed values are: - `graphql-ws` for the deprecated Apollo protocol - `graphql-transport-ws` for the newer GraphQL over WebSocket protocol (default value) If multiple protocols are provided, the actual protocol to be used will be subject to negotiation with the server. -
executeSingleResultOperationsOverWebsocket
If true, then queries and mutations will run over the websocket transport rather than pure HTTP. Off by default, because it has higher overhead. -
websocketInitializationTimeout
Maximum time in milliseconds that will be allowed to wait for the server to acknowledge a websocket connection (send a subprotocol-specific ACK message). -
trustStore
Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated. Consider using the Quarkus TLS registry. Set the desired TLS bucket name using the following configuration property:quarkus.smallrye-graphql-client."client-name".tls-bucket-name.The trust store location. Can point to either a classpath resource or a file. -
trustStorePassword
Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated. Consider using the Quarkus TLS registry. Set the desired TLS bucket name using the following configuration property:quarkus.smallrye-graphql-client."client-name".tls-bucket-name.The trust store password. -
trustStoreType
Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated. Consider using the Quarkus TLS registry. Set the desired TLS bucket name using the following configuration property:quarkus.smallrye-graphql-client."client-name".tls-bucket-name.The type of the trust store. Defaults to "JKS". -
keyStore
Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated. Consider using the Quarkus TLS registry. Set the desired TLS bucket name using the following configuration property:quarkus.smallrye-graphql-client."client-name".tls-bucket-name.The key store location. Can point to either a classpath resource or a file. -
keyStorePassword
Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated. Consider using the Quarkus TLS registry. Set the desired TLS bucket name using the following configuration property:quarkus.smallrye-graphql-client."client-name".tls-bucket-name.The key store password. -
keyStoreType
Deprecated, for removal: This API element is subject to removal in a future version.This configuration property is deprecated. Consider using the Quarkus TLS registry. Set the desired TLS bucket name using the following configuration property:quarkus.smallrye-graphql-client."client-name".tls-bucket-name.The type of the key store. Defaults to "JKS". -
proxyHost
Hostname of the proxy to use. -
proxyPort
Port number of the proxy to use. -
proxyUsername
Username for the proxy to use. -
proxyPassword
Password for the proxy to use. -
maxRedirects
Maximum number of redirects to follow. -
initPayload
@ConfigItem(name="init-payload") @ConfigDocMapKey("property-name") public Map<String,String> initPayloadAdditional payload sent on websocket initialization. -
allowUnexpectedResponseFields
Allowing unexpected fields in response. If true, there will be warning log of an unexpected field. Else it throws an error. -
tlsConfigurationName
The name of the TLS configuration (bucket) used for client authentication in the TLS registry.
-
-
Constructor Details
-
GraphQLClientConfig
public GraphQLClientConfig()
-