Enum Class CookieSourceScheme

All Implemented Interfaces:
Serializable, Comparable<CookieSourceScheme>, java.lang.constant.Constable

public enum CookieSourceScheme extends Enum<CookieSourceScheme>
Represents the source scheme of the origin that originally set the cookie. A value of "Unset" allows protocol clients to emulate legacy cookie scope for the scheme. This is a temporary ability and it will be removed in the future.
  • Enum Constant Details

  • Field Details

    • value

      public final String value
  • Method Details

    • values

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

      public static CookieSourceScheme 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.)
      name - the name of the enum constant to be returned.
      the enum constant with the specified name
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      toString in class Enum<CookieSourceScheme>