Class ResteasyJsonConfig
- java.lang.Object
-
- io.quarkus.resteasy.common.deployment.ResteasyJsonConfig
-
@ConfigRoot(phase=BUILD_TIME) public class ResteasyJsonConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanjsonDefaultIf this is true (the default) then JSON is set to the default media type.
-
Constructor Summary
Constructors Constructor Description ResteasyJsonConfig()
-
-
-
Field Detail
-
jsonDefault
@ConfigItem(defaultValue="true") public boolean jsonDefault
If this is true (the default) then JSON is set to the default media type. If a method has no produces/consumes and there is no builtin provider than can handle the type then we will assume the response should be JSON. Note that this will only take effect if a JSON provider has been installed, such as quarkus-resteasy-jsonb or quarkus-resteasy-jackson.
-
-