Class ResteasyReactiveConfig
- java.lang.Object
-
- io.quarkus.resteasy.reactive.common.runtime.ResteasyReactiveConfig
-
@ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED, name="resteasy-reactive") public class ResteasyReactiveConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description booleanbuildTimeConditionAwareWhether annotations such `@IfBuildTimeProfile`, `@IfBuildTimeProperty` and friends will be taken into account when used on JAX-RS classes.booleandefaultProducesWhen one of the quarkus-resteasy-reactive-jackson or quarkus-resteasy-reactive-jsonb extension are active and the result type of an endpoint is an application class or one ofCollection,List,SetorMap, we assume the default return type is "application/json" if this configuration is enabled.booleanfailOnDuplicateWhether duplicate endpoints should trigger error at startupio.quarkus.runtime.configuration.MemorySizeinputBufferSizeThe amount of memory that can be used to buffer input before switching to blocking IO.intoutputBufferSizeThe size of the output stream response buffer.booleansingleDefaultProducesBy default, we assume a default produced media type of "text/plain" for String endpoint return types.
-
Constructor Summary
Constructors Constructor Description ResteasyReactiveConfig()
-
-
-
Field Detail
-
inputBufferSize
@ConfigItem(defaultValue="10k") public io.quarkus.runtime.configuration.MemorySize inputBufferSize
The amount of memory that can be used to buffer input before switching to blocking IO.
-
outputBufferSize
@ConfigItem(defaultValue="8191") public int outputBufferSize
The size of the output stream response buffer. If a response is larger than this and no content-length is provided then the request will be chunked. Larger values may give slight performance increases for large responses, at the expense of more memory usage.
-
singleDefaultProduces
@ConfigItem(defaultValue="true") public boolean singleDefaultProduces
By default, we assume a default produced media type of "text/plain" for String endpoint return types. If this is disabled, the default produced media type will be "[text/plain, */*]" which is more expensive due to negotiation.
-
defaultProduces
@ConfigItem(defaultValue="true") @Experimental("This flag has a high probability of going away in the future") public boolean defaultProducesWhen one of the quarkus-resteasy-reactive-jackson or quarkus-resteasy-reactive-jsonb extension are active and the result type of an endpoint is an application class or one ofCollection,List,SetorMap, we assume the default return type is "application/json" if this configuration is enabled.
-
buildTimeConditionAware
@ConfigItem(defaultValue="true") public boolean buildTimeConditionAware
Whether annotations such `@IfBuildTimeProfile`, `@IfBuildTimeProperty` and friends will be taken into account when used on JAX-RS classes.
-
failOnDuplicate
@ConfigItem(defaultValue="true") public boolean failOnDuplicate
Whether duplicate endpoints should trigger error at startup
-
-