Interface RestClientReactiveConfig


@ConfigMapping(prefix="quarkus.rest-client") @ConfigRoot(phase=BUILD_TIME) public interface RestClientReactiveConfig
Build time REST client config.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    By default, RESTEasy Reactive uses text/plain content type for String values and application/json for everything else.
    boolean
    Whether providers (filters, etc.) annotated with Provider should be automatically registered for all the clients in the application.
  • Method Details

    • disableSmartProduces

      @WithName("disable-smart-produces") @WithDefault("false") boolean disableSmartProduces()
      By default, RESTEasy Reactive uses text/plain content type for String values and application/json for everything else.

      MicroProfile Rest Client spec requires the implementations to always default to application/json. This build item disables the "smart" behavior of RESTEasy Reactive to comply to the spec

    • providerAutodiscovery

      @WithName("provider-autodiscovery") @WithDefault("true") boolean providerAutodiscovery()
      Whether providers (filters, etc.) annotated with Provider should be automatically registered for all the clients in the application.