Enum BlockedReason

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<BlockedReason>

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

      • SUBRESOURCE_FILTER

        public static final BlockedReason SUBRESOURCE_FILTER
      • 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 Detail

      • values

        public static BlockedReason[] 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 (BlockedReason c : BlockedReason.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BlockedReason 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 name
        java.lang.NullPointerException - if the argument is null
      • fromString

        public static BlockedReason fromString​(java.lang.String s)
      • toString

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

        public java.lang.String toJson()