Package io.quarkus.restclient.config
Class RestClientBuildConfig
java.lang.Object
io.quarkus.restclient.config.RestClientBuildConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanIf set to true, then Quarkus will ensure that all calls from the rest client go through a local proxy server (that is managed by Quarkus).This setting is used to select which proxy provider to use if there are multiple ones.The CDI scope to use for injection. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
scope
The CDI scope to use for injection. This property can contain either a fully qualified class name of a CDI scope annotation (such as "jakarta.enterprise.context.ApplicationScoped") or its simple name (such as "ApplicationScoped"). By default, this is not set which means the interface is not registered as a bean unless it is annotated withRegisterRestClient. If an interface is not annotated withRegisterRestClientand this property is set, then Quarkus will make the interface a bean of the configured scope. -
enableLocalProxy
If set to true, then Quarkus will ensure that all calls from the rest client go through a local proxy server (that is managed by Quarkus). This can be very useful for capturing network traffic to a service that use HTTPS.This property is not applicable to the RESTEasy Client, only the Quarkus Rest client (formerly RESTEasy Reactive client).
This property only applicable to dev and test mode.
-
localProxyProvider
This setting is used to select which proxy provider to use if there are multiple ones. It only applies ifenable-local-proxyis true.The algorithm for picking between multiple provider is the following:
- If only the default is around, use it (it's name is
default) - If there is only one besides the default, use it
- If there are multiple ones, fail
- If only the default is around, use it (it's name is
-
-
Constructor Details
-
RestClientBuildConfig
public RestClientBuildConfig()
-