java.lang.Object
io.helidon.webclient.jaxrs.JaxRsClient
Point of access to
ClientBuilder to support Helidon features,
such as propagation of tracing, correct handling of Context.-
Method Summary
Modifier and TypeMethodDescriptionstatic voidconfigureDefaults(Config config) Configure defaults for all clients created.static voiddefaultExecutor(Supplier<ExecutorService> executorServiceSupplier) Configure the default executor supplier to be used for asynchronous requests when explicit supplier is not provided.
-
Method Details
-
configureDefaults
Configure defaults for all clients created. Configuration options:Configuration parameters key default value description executor ThreadPoolSupplier.create(io.helidon.config.Config, String)Default executor service to use for asynchronous operations. For configuration options of executor, please refer toThreadPoolSupplier.Builder.config(io.helidon.config.Config)- Parameters:
config- configuration to use to configure JAX-RS clients defaults
-
defaultExecutor
Configure the default executor supplier to be used for asynchronous requests when explicit supplier is not provided.- Parameters:
executorServiceSupplier- supplier that provides the executor service
-