Class ResteasyReactiveConfig


  • @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED,
                name="resteasy-reactive")
    public class ResteasyReactiveConfig
    extends Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean buildTimeConditionAware
      Whether or not annotations such `@IfBuildTimeProfile`, `@IfBuildTimeProperty` and friends will be taken into account when used on JAX-RS classes.
      boolean defaultProduces
      When 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 of Collection, List, Set or Map, we assume the default return type is "application/json" if this configuration is enabled.
      boolean denyJaxRs
      If set to true, access to all JAX-RS resources will be denied by default
      io.quarkus.runtime.configuration.MemorySize inputBufferSize
      The amount of memory that can be used to buffer input before switching to blocking IO.
      boolean singleDefaultProduces
      By default we assume a default produced media type of "text/plain" for String endpoint return types.
    • 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.
      • 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 defaultProduces
        When 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 of Collection, List, Set or Map, we assume the default return type is "application/json" if this configuration is enabled.
      • buildTimeConditionAware

        @ConfigItem(defaultValue="true")
        public boolean buildTimeConditionAware
        Whether or not annotations such `@IfBuildTimeProfile`, `@IfBuildTimeProperty` and friends will be taken into account when used on JAX-RS classes.
      • denyJaxRs

        @ConfigItem(name="deny-unannotated-endpoints")
        public boolean denyJaxRs
        If set to true, access to all JAX-RS resources will be denied by default
    • Constructor Detail

      • ResteasyReactiveConfig

        public ResteasyReactiveConfig()