Class Network.AssociatedCookie

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • blockedReasons

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String[] blockedReasons
        The reason(s) the cookie was blocked. If empty means the cookie is included.

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:

        📎 Network.CookieBlockedReason


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Network.CookieBlockedReason.enumStrList("blockedReasons");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)
      • exemptionReason

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String exemptionReason
        The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.
        OPTIONAL

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:

        📎 Network.CookieExemptionReason


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Network.CookieExemptionReason.enumStrList("exemptionReason");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)