Enum Class CookieSameSite

java.lang.Object
java.lang.Enum<CookieSameSite>
cool.scx.http.headers.cookie.CookieSameSite
All Implemented Interfaces:
Serializable, Comparable<CookieSameSite>, Constable

public enum CookieSameSite extends Enum<CookieSameSite>
CookieSameSite
Version:
0.0.1
Author:
scx567888
  • Enum Constant Details

  • Method Details

    • values

      public static CookieSameSite[] 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 CookieSameSite 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
    • of

      public static CookieSameSite of(String attrValue)
      Parameters:
      attrValue - a
      Returns:
      未找到会抛出异常
    • find

      public static CookieSameSite find(String attrValue)
      Parameters:
      attrValue - a
      Returns:
      未找到会返回 null
    • value

      public String value()