Class RestClientBuildConfig

java.lang.Object
io.quarkus.restclient.config.RestClientBuildConfig

public class RestClientBuildConfig extends Object
  • Field Details

    • scope

      @ConfigItem public Optional<String> 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 with RegisterRestClient. If an interface is not annotated with RegisterRestClient and this property is set, then Quarkus will make the interface a bean of the configured scope.
  • Constructor Details

    • RestClientBuildConfig

      public RestClientBuildConfig()