Class RestClientReactiveConfig
- java.lang.Object
-
- io.quarkus.rest.client.reactive.runtime.RestClientReactiveConfig
-
@ConfigRoot(phase=BUILD_TIME) public class RestClientReactiveConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description boolean
disableSmartProduces
By default, RESTEasy Reactive uses text/plain content type for String values and application/json for everything else.String
scope
Default scope for Rest Client Reactive.
-
Constructor Summary
Constructors Constructor Description RestClientReactiveConfig()
-
-
-
Field Detail
-
scope
@ConfigItem(name="scope", defaultValue="javax.enterprise.context.ApplicationScoped") public String scope
Default scope for Rest Client Reactive. Use `javax.enterprise.context.Dependent` for spec-compliant behavior
-
disableSmartProduces
@ConfigItem(name="disable-smart-produces", defaultValue="false") public 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
-
-