Class CdiOptions<T>

java.lang.Object
org.jboss.resteasy.spi.config.Options<T>
org.jboss.resteasy.cdi.CdiOptions<T>

public class CdiOptions<T> extends Options<T>
Configuration options for the RESTEasy CDI integration. These options extend the Options framework and can be configured via system properties, environment variables, or MicroProfile Config.
Author:
James R. Perkins
  • Field Details

    • ENHANCED_CDI_SUPPORT

      public static final CdiOptions<Boolean> ENHANCED_CDI_SUPPORT
      An option for enabling or disabling the enhanced CDI support. When enabled, Jakarta REST annotations such as @Context, @QueryParam, @PathParam, @HeaderParam, @MatrixParam, @CookieParam, @FormParam, and @BeanParam are treated as CDI qualifiers, allowing parameter values to be injected via CDI.

      The default is false.