Package io.helidon.webclient.jaxrs
Class JaxRsClient
- java.lang.Object
-
- io.helidon.webclient.jaxrs.JaxRsClient
-
public final class JaxRsClient extends Object
Point of access toClientBuilder
to support Helidon features, such as propagation of tracing, correct handling ofContext
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
configureDefaults(Config config)
Configure defaults for all clients created.static void
defaultExecutor(Supplier<ExecutorService> executorServiceSupplier)
Configure the default executor supplier to be used for asynchronous requests when explicit supplier is not provided.
-
-
-
Method Detail
-
configureDefaults
public static void configureDefaults(Config config)
Configure defaults for all clients created. Configuration options:Configuration parameters key default value description executor ThreadPoolSupplier.create(io.helidon.config.Config)
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
public static void defaultExecutor(Supplier<ExecutorService> executorServiceSupplier)
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
-
-