Interface ResteasyReactiveConfig


@ConfigMapping(prefix="quarkus.rest") @ConfigRoot(phase=BUILD_AND_RUN_TIME_FIXED) public interface ResteasyReactiveConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether annotations such `@IfBuildTimeProfile`, `@IfBuildTimeProperty` and friends will be taken into account when used on JAX-RS classes.
    boolean
    When one of the quarkus-rest-jackson or quarkus-rest-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
    Whether duplicate endpoints should trigger error at startup
    io.quarkus.runtime.configuration.MemorySize
    The amount of memory that can be used to buffer input before switching to blocking IO, up to Long.MAX_VALUE bytes.
    int
    The size of the chunks of memory allocated when writing data.
    int
    The size of the output stream response buffer.
    boolean
    If true, the extension will automatically remove the trailing slash in the paths if any.
    boolean
    An advanced option that can be set when they RESTEasy Reactive should NOT reply with 404 when it does not match the URL path and instead just pass control onto the next Vert.x handler (if any)
    boolean
    By default, we assume a default produced media type of "text/plain" for String endpoint return types.
  • Method Details

    • inputBufferSize

      @WithDefault("10k") io.quarkus.runtime.configuration.MemorySize inputBufferSize()
      The amount of memory that can be used to buffer input before switching to blocking IO, up to Long.MAX_VALUE bytes.
    • minChunkSize

      @WithDefault("128") int minChunkSize()
      The size of the chunks of memory allocated when writing data.

      This is a very advanced setting that should only be set if you understand exactly how it affects the output IO operations of the application.

    • outputBufferSize

      @WithDefault("8191") 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

      @WithDefault("true") 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

      @WithDefault("true") @Experimental("This flag has a high probability of going away in the future") boolean defaultProduces()
      When one of the quarkus-rest-jackson or quarkus-rest-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

      @WithDefault("true") boolean buildTimeConditionAware()
      Whether annotations such `@IfBuildTimeProfile`, `@IfBuildTimeProperty` and friends will be taken into account when used on JAX-RS classes.
    • failOnDuplicate

      @WithDefault("true") boolean failOnDuplicate()
      Whether duplicate endpoints should trigger error at startup
    • resumeOn404

      @WithDefault("false") boolean resumeOn404()
      An advanced option that can be set when they RESTEasy Reactive should NOT reply with 404 when it does not match the URL path and instead just pass control onto the next Vert.x handler (if any)
    • removesTrailingSlash

      @WithDefault("true") boolean removesTrailingSlash()
      If true, the extension will automatically remove the trailing slash in the paths if any.