Enum Class ReferrerPolicy

java.lang.Object
java.lang.Enum<ReferrerPolicy>
io.webfolder.cdp.type.page.ReferrerPolicy
All Implemented Interfaces:
Serializable, Comparable<ReferrerPolicy>, java.lang.constant.Constable

public enum ReferrerPolicy extends Enum<ReferrerPolicy>
The referring-policy used for the navigation
  • Enum Constant Details

    • NoReferrer

      @SerializedName("noReferrer") public static final ReferrerPolicy NoReferrer
    • NoReferrerWhenDowngrade

      @SerializedName("noReferrerWhenDowngrade") public static final ReferrerPolicy NoReferrerWhenDowngrade
    • Origin

      @SerializedName("origin") public static final ReferrerPolicy Origin
    • OriginWhenCrossOrigin

      @SerializedName("originWhenCrossOrigin") public static final ReferrerPolicy OriginWhenCrossOrigin
    • SameOrigin

      @SerializedName("sameOrigin") public static final ReferrerPolicy SameOrigin
    • StrictOrigin

      @SerializedName("strictOrigin") public static final ReferrerPolicy StrictOrigin
    • StrictOriginWhenCrossOrigin

      @SerializedName("strictOriginWhenCrossOrigin") public static final ReferrerPolicy StrictOriginWhenCrossOrigin
    • UnsafeUrl

      @SerializedName("unsafeUrl") public static final ReferrerPolicy UnsafeUrl
  • Field Details

    • value

      public final String value
  • 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ReferrerPolicy>