Annotation Interface ConditionalOnEnabledGlobalFilter


@Retention(RUNTIME) @Target({TYPE,METHOD}) @Documented @Conditional(OnEnabledGlobalFilter.class) public @interface ConditionalOnEnabledGlobalFilter
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Class<? extends GlobalFilter>
    The class component to check for.
  • Element Details

    • value

      Class<? extends GlobalFilter> value
      The class component to check for.
      Returns:
      the class that must be enabled
      Default:
      org.springframework.cloud.gateway.config.conditional.OnEnabledGlobalFilter.DefaultValue.class