Class RestClientDisableSmartDefaultProduces
- java.lang.Object
-
- io.quarkus.builder.item.BuildItem
-
- io.quarkus.builder.item.MultiBuildItem
-
- io.quarkus.jaxrs.client.reactive.deployment.RestClientDisableSmartDefaultProduces
-
public final class RestClientDisableSmartDefaultProduces extends io.quarkus.builder.item.MultiBuildItemBy 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