Enum Class BlockedReason

java.lang.Object
java.lang.Enum<BlockedReason>
org.openqa.selenium.devtools.v85.network.model.BlockedReason
All Implemented Interfaces:
Serializable, Comparable<BlockedReason>, Constable

public enum BlockedReason extends Enum<BlockedReason>
The reason why request was blocked.
  • Enum Constant Details

    • OTHER

      public static final BlockedReason OTHER
    • CSP

      public static final BlockedReason CSP
    • MIXED_CONTENT

      public static final BlockedReason MIXED_CONTENT
    • ORIGIN

      public static final BlockedReason ORIGIN
    • INSPECTOR

      public static final BlockedReason INSPECTOR
    • SUBRESOURCE_FILTER

      public static final BlockedReason SUBRESOURCE_FILTER
    • CONTENT_TYPE

      public static final BlockedReason CONTENT_TYPE
    • COLLAPSED_BY_CLIENT

      public static final BlockedReason COLLAPSED_BY_CLIENT
    • COEP_FRAME_RESOURCE_NEEDS_COEP_HEADER

      public static final BlockedReason COEP_FRAME_RESOURCE_NEEDS_COEP_HEADER
    • COOP_SANDBOXED_IFRAME_CANNOT_NAVIGATE_TO_COOP_PAGE

      public static final BlockedReason COOP_SANDBOXED_IFRAME_CANNOT_NAVIGATE_TO_COOP_PAGE
    • CORP_NOT_SAME_ORIGIN

      public static final BlockedReason CORP_NOT_SAME_ORIGIN
    • CORP_NOT_SAME_ORIGIN_AFTER_DEFAULTED_TO_SAME_ORIGIN_BY_COEP

      public static final BlockedReason CORP_NOT_SAME_ORIGIN_AFTER_DEFAULTED_TO_SAME_ORIGIN_BY_COEP
    • CORP_NOT_SAME_SITE

      public static final BlockedReason CORP_NOT_SAME_SITE
  • Method Details

    • values

      public static BlockedReason[] 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 BlockedReason 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
    • fromString

      public static BlockedReason fromString(String s)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BlockedReason>
    • toJson

      public String toJson()