Enum Class BrowserRequestOriginResult.Basis
- All Implemented Interfaces:
Serializable, Comparable<BrowserRequestOriginResult.Basis>, Constable
- Enclosing class:
BrowserRequestOriginResult
@Immutable
public static enum BrowserRequestOriginResult.Basis
extends Enum<BrowserRequestOriginResult.Basis>
The input that admitted a request.
- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn exact configuredOrigin.The explicit compatibility option for a request with neither metadata header.A safe HTTP method.Sec-Fetch-Site: same-origin.Sec-Fetch-Site: none, normally a user-initiated navigation. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static BrowserRequestOriginResult.Basis[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SAFE_METHOD
A safe HTTP method. -
SAME_ORIGIN
Sec-Fetch-Site: same-origin. -
USER_INITIATED
Sec-Fetch-Site: none, normally a user-initiated navigation. -
CONFIGURED_ORIGIN
An exact configuredOrigin. -
MISSING_METADATA_COMPATIBILITY
The explicit compatibility option for a request with neither metadata header.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-