Enum Class ReferrerPolicy

java.lang.Object
java.lang.Enum<ReferrerPolicy>
io.camunda.security.configuration.headers.values.ReferrerPolicy
All Implemented Interfaces:
Serializable, Comparable<ReferrerPolicy>, Constable

public enum ReferrerPolicy extends Enum<ReferrerPolicy>
  • Enum Constant Details

    • NO_REFERRER

      public static final ReferrerPolicy NO_REFERRER
    • NO_REFERRER_WHEN_DOWNGRADE

      public static final ReferrerPolicy NO_REFERRER_WHEN_DOWNGRADE
    • SAME_ORIGIN

      public static final ReferrerPolicy SAME_ORIGIN
    • ORIGIN

      public static final ReferrerPolicy ORIGIN
    • STRICT_ORIGIN

      public static final ReferrerPolicy STRICT_ORIGIN
    • ORIGIN_WHEN_CROSS_ORIGIN

      public static final ReferrerPolicy ORIGIN_WHEN_CROSS_ORIGIN
    • STRICT_ORIGIN_WHEN_CROSS_ORIGIN

      public static final ReferrerPolicy STRICT_ORIGIN_WHEN_CROSS_ORIGIN
    • UNSAFE_URL

      public static final ReferrerPolicy UNSAFE_URL
  • Method Details

    • values

      public static ReferrerPolicy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReferrerPolicy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null