Enum CorsError
- java.lang.Object
-
- java.lang.Enum<CorsError>
-
- org.openqa.selenium.devtools.v101.network.model.CorsError
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CorsError
fromString(java.lang.String s)
java.lang.String
toJson()
java.lang.String
toString()
static CorsError
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CorsError[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISALLOWEDBYMODE
public static final CorsError DISALLOWEDBYMODE
-
INVALIDRESPONSE
public static final CorsError INVALIDRESPONSE
-
WILDCARDORIGINNOTALLOWED
public static final CorsError WILDCARDORIGINNOTALLOWED
-
MISSINGALLOWORIGINHEADER
public static final CorsError MISSINGALLOWORIGINHEADER
-
MULTIPLEALLOWORIGINVALUES
public static final CorsError MULTIPLEALLOWORIGINVALUES
-
INVALIDALLOWORIGINVALUE
public static final CorsError INVALIDALLOWORIGINVALUE
-
ALLOWORIGINMISMATCH
public static final CorsError ALLOWORIGINMISMATCH
-
INVALIDALLOWCREDENTIALS
public static final CorsError INVALIDALLOWCREDENTIALS
-
CORSDISABLEDSCHEME
public static final CorsError CORSDISABLEDSCHEME
-
PREFLIGHTINVALIDSTATUS
public static final CorsError PREFLIGHTINVALIDSTATUS
-
PREFLIGHTDISALLOWEDREDIRECT
public static final CorsError PREFLIGHTDISALLOWEDREDIRECT
-
PREFLIGHTWILDCARDORIGINNOTALLOWED
public static final CorsError PREFLIGHTWILDCARDORIGINNOTALLOWED
-
PREFLIGHTMISSINGALLOWORIGINHEADER
public static final CorsError PREFLIGHTMISSINGALLOWORIGINHEADER
-
PREFLIGHTMULTIPLEALLOWORIGINVALUES
public static final CorsError PREFLIGHTMULTIPLEALLOWORIGINVALUES
-
PREFLIGHTINVALIDALLOWORIGINVALUE
public static final CorsError PREFLIGHTINVALIDALLOWORIGINVALUE
-
PREFLIGHTALLOWORIGINMISMATCH
public static final CorsError PREFLIGHTALLOWORIGINMISMATCH
-
PREFLIGHTINVALIDALLOWCREDENTIALS
public static final CorsError PREFLIGHTINVALIDALLOWCREDENTIALS
-
PREFLIGHTMISSINGALLOWEXTERNAL
public static final CorsError PREFLIGHTMISSINGALLOWEXTERNAL
-
PREFLIGHTINVALIDALLOWEXTERNAL
public static final CorsError PREFLIGHTINVALIDALLOWEXTERNAL
-
PREFLIGHTMISSINGALLOWPRIVATENETWORK
public static final CorsError PREFLIGHTMISSINGALLOWPRIVATENETWORK
-
PREFLIGHTINVALIDALLOWPRIVATENETWORK
public static final CorsError PREFLIGHTINVALIDALLOWPRIVATENETWORK
-
INVALIDALLOWMETHODSPREFLIGHTRESPONSE
public static final CorsError INVALIDALLOWMETHODSPREFLIGHTRESPONSE
-
INVALIDALLOWHEADERSPREFLIGHTRESPONSE
public static final CorsError INVALIDALLOWHEADERSPREFLIGHTRESPONSE
-
METHODDISALLOWEDBYPREFLIGHTRESPONSE
public static final CorsError METHODDISALLOWEDBYPREFLIGHTRESPONSE
-
HEADERDISALLOWEDBYPREFLIGHTRESPONSE
public static final CorsError HEADERDISALLOWEDBYPREFLIGHTRESPONSE
-
REDIRECTCONTAINSCREDENTIALS
public static final CorsError REDIRECTCONTAINSCREDENTIALS
-
INSECUREPRIVATENETWORK
public static final CorsError INSECUREPRIVATENETWORK
-
INVALIDPRIVATENETWORKACCESS
public static final CorsError INVALIDPRIVATENETWORKACCESS
-
UNEXPECTEDPRIVATENETWORKACCESS
public static final CorsError UNEXPECTEDPRIVATENETWORKACCESS
-
NOCORSREDIRECTMODENOTFOLLOW
public static final CorsError NOCORSREDIRECTMODENOTFOLLOW
-
-
Method Detail
-
values
public static CorsError[] 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 (CorsError c : CorsError.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CorsError 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 CorsError fromString(java.lang.String s)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<CorsError>
-
toJson
public java.lang.String toJson()
-
-