Enum SetCookieBlockedReason
- java.lang.Object
-
- java.lang.Enum<SetCookieBlockedReason>
-
- org.openqa.selenium.devtools.v85.network.model.SetCookieBlockedReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SetCookieBlockedReason>
@Beta public enum SetCookieBlockedReason extends java.lang.Enum<SetCookieBlockedReason>
Types of reasons why a cookie may not be stored from a response.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALIDDOMAIN
INVALIDPREFIX
OVERWRITESECURE
SAMESITELAX
SAMESITENONEINSECURE
SAMESITESTRICT
SAMESITEUNSPECIFIEDTREATEDASLAX
SCHEMENOTSUPPORTED
SECUREONLY
SYNTAXERROR
UNKNOWNERROR
USERPREFERENCES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SetCookieBlockedReason
fromString(java.lang.String s)
java.lang.String
toJson()
java.lang.String
toString()
static SetCookieBlockedReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SetCookieBlockedReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SECUREONLY
public static final SetCookieBlockedReason SECUREONLY
-
SAMESITESTRICT
public static final SetCookieBlockedReason SAMESITESTRICT
-
SAMESITELAX
public static final SetCookieBlockedReason SAMESITELAX
-
SAMESITEUNSPECIFIEDTREATEDASLAX
public static final SetCookieBlockedReason SAMESITEUNSPECIFIEDTREATEDASLAX
-
SAMESITENONEINSECURE
public static final SetCookieBlockedReason SAMESITENONEINSECURE
-
USERPREFERENCES
public static final SetCookieBlockedReason USERPREFERENCES
-
SYNTAXERROR
public static final SetCookieBlockedReason SYNTAXERROR
-
SCHEMENOTSUPPORTED
public static final SetCookieBlockedReason SCHEMENOTSUPPORTED
-
OVERWRITESECURE
public static final SetCookieBlockedReason OVERWRITESECURE
-
INVALIDDOMAIN
public static final SetCookieBlockedReason INVALIDDOMAIN
-
INVALIDPREFIX
public static final SetCookieBlockedReason INVALIDPREFIX
-
UNKNOWNERROR
public static final SetCookieBlockedReason UNKNOWNERROR
-
-
Method Detail
-
values
public static SetCookieBlockedReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SetCookieBlockedReason c : SetCookieBlockedReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SetCookieBlockedReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
fromString
public static SetCookieBlockedReason fromString(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<SetCookieBlockedReason>
-
toJson
public java.lang.String toJson()
-
-