Package io.webfolder.cdp.type.network
Enum Class CorsError
- All Implemented Interfaces:
Serializable
,Comparable<CorsError>
,java.lang.constant.Constable
The reason why request was blocked.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
-
Enum Constant Details
-
DisallowedByMode
-
InvalidResponse
-
WildcardOriginNotAllowed
-
MissingAllowOriginHeader
-
MultipleAllowOriginValues
@SerializedName("MultipleAllowOriginValues") public static final CorsError MultipleAllowOriginValues -
InvalidAllowOriginValue
-
AllowOriginMismatch
-
InvalidAllowCredentials
-
CorsDisabledScheme
-
PreflightInvalidStatus
-
PreflightDisallowedRedirect
@SerializedName("PreflightDisallowedRedirect") public static final CorsError PreflightDisallowedRedirect -
PreflightWildcardOriginNotAllowed
@SerializedName("PreflightWildcardOriginNotAllowed") public static final CorsError PreflightWildcardOriginNotAllowed -
PreflightMissingAllowOriginHeader
@SerializedName("PreflightMissingAllowOriginHeader") public static final CorsError PreflightMissingAllowOriginHeader -
PreflightMultipleAllowOriginValues
@SerializedName("PreflightMultipleAllowOriginValues") public static final CorsError PreflightMultipleAllowOriginValues -
PreflightInvalidAllowOriginValue
@SerializedName("PreflightInvalidAllowOriginValue") public static final CorsError PreflightInvalidAllowOriginValue -
PreflightAllowOriginMismatch
@SerializedName("PreflightAllowOriginMismatch") public static final CorsError PreflightAllowOriginMismatch -
PreflightInvalidAllowCredentials
@SerializedName("PreflightInvalidAllowCredentials") public static final CorsError PreflightInvalidAllowCredentials -
PreflightMissingAllowExternal
@SerializedName("PreflightMissingAllowExternal") public static final CorsError PreflightMissingAllowExternal -
PreflightInvalidAllowExternal
@SerializedName("PreflightInvalidAllowExternal") public static final CorsError PreflightInvalidAllowExternal -
PreflightMissingAllowPrivateNetwork
@SerializedName("PreflightMissingAllowPrivateNetwork") public static final CorsError PreflightMissingAllowPrivateNetwork -
PreflightInvalidAllowPrivateNetwork
@SerializedName("PreflightInvalidAllowPrivateNetwork") public static final CorsError PreflightInvalidAllowPrivateNetwork -
InvalidAllowMethodsPreflightResponse
@SerializedName("InvalidAllowMethodsPreflightResponse") public static final CorsError InvalidAllowMethodsPreflightResponse -
InvalidAllowHeadersPreflightResponse
@SerializedName("InvalidAllowHeadersPreflightResponse") public static final CorsError InvalidAllowHeadersPreflightResponse -
MethodDisallowedByPreflightResponse
@SerializedName("MethodDisallowedByPreflightResponse") public static final CorsError MethodDisallowedByPreflightResponse -
HeaderDisallowedByPreflightResponse
@SerializedName("HeaderDisallowedByPreflightResponse") public static final CorsError HeaderDisallowedByPreflightResponse -
RedirectContainsCredentials
@SerializedName("RedirectContainsCredentials") public static final CorsError RedirectContainsCredentials -
InsecurePrivateNetwork
-
InvalidPrivateNetworkAccess
@SerializedName("InvalidPrivateNetworkAccess") public static final CorsError InvalidPrivateNetworkAccess -
UnexpectedPrivateNetworkAccess
@SerializedName("UnexpectedPrivateNetworkAccess") public static final CorsError UnexpectedPrivateNetworkAccess -
NoCorsRedirectModeNotFollow
@SerializedName("NoCorsRedirectModeNotFollow") public static final CorsError NoCorsRedirectModeNotFollow -
_UNKNOWN_
-
-
Field Details
-
value
-
-
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
-
toString
-