Package Torello.Browser.BrowserAPI
Class Audits.CookieIssueDetails
- java.lang.Object
-
- Torello.Browser.BaseType<Audits.CookieIssueDetails>
-
- Torello.Browser.BrowserAPI.Audits.CookieIssueDetails
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- Audits
public static class Audits.CookieIssueDetails extends BaseType<Audits.CookieIssueDetails> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theAuditsdomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.This information is currently necessary, as the front-end has a difficult time finding a specific cookie. With this, we can convey specific error information without the cookie.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/Audits.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/Audits.java
File Size: 4,714 Bytes Line Count: 113 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: Audits$$CookieIssueDetails$$.java
- Open New Browser-Tab: Audits$$CookieIssueDetails$$.java
File Size: 14,061 Bytes Line Count: 336 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description Audits.AffectedCookiecookieIf AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string.String[]cookieExclusionReasons[No Description Provided by Google]StringcookieUrl[No Description Provided by Google]String[]cookieWarningReasons[No Description Provided by Google]Audits.CookieIssueInsightinsightThe recommended solution to the issue.StringoperationOptionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.StringrawCookieLine[No Description Provided by Google]Audits.AffectedRequestrequest[No Description Provided by Google]StringsiteForCookies[No Description Provided by Google]
-
Constructor Summary
Constructors Constructor Description CookieIssueDetails(ReadOnlyList<Boolean> isPresent, Audits.AffectedCookie cookie, String rawCookieLine, String[] cookieWarningReasons, String[] cookieExclusionReasons, String operation, String siteForCookies, String cookieUrl, Audits.AffectedRequest request, Audits.CookieIssueInsight insight)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static Audits.CookieIssueDetailsfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<Audits.CookieIssueDetails>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation 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
-
cookie
public final Audits.AffectedCookie cookie
If AffectedCookie is not set then rawCookieLine contains the raw Set-Cookie header string. This hints at a problem where the cookie line is syntactically or semantically malformed in a way that no valid cookie could be created.
OPTIONAL
-
rawCookieLine
public final java.lang.String rawCookieLine
[No Description Provided by Google]
OPTIONAL
-
cookieWarningReasons
public final java.lang.String[] cookieWarningReasons
[No Description Provided by Google]This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎Audits.CookieWarningReason
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = Audits.CookieWarningReason.enumStrList("cookieWarningReasons"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
cookieExclusionReasons
public final java.lang.String[] cookieExclusionReasons
[No Description Provided by Google]This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎Audits.CookieExclusionReason
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = Audits.CookieExclusionReason.enumStrList("cookieExclusionReasons"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
operation
public final java.lang.String operation
Optionally identifies the site-for-cookies and the cookie url, which may be used by the front-end as additional context.This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎Audits.CookieOperation
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = Audits.CookieOperation.enumStrList("operation"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
siteForCookies
public final java.lang.String siteForCookies
[No Description Provided by Google]
OPTIONAL
-
cookieUrl
public final java.lang.String cookieUrl
[No Description Provided by Google]
OPTIONAL
-
request
public final Audits.AffectedRequest request
[No Description Provided by Google]
OPTIONAL
-
insight
public final Audits.CookieIssueInsight insight
The recommended solution to the issue.
OPTIONAL
-
-
Constructor Detail
-
CookieIssueDetails
public CookieIssueDetails(ReadOnlyList<java.lang.Boolean> isPresent, Audits.AffectedCookie cookie, java.lang.String rawCookieLine, java.lang.String[] cookieWarningReasons, java.lang.String[] cookieExclusionReasons, java.lang.String operation, java.lang.String siteForCookies, java.lang.String cookieUrl, Audits.AffectedRequest request, Audits.CookieIssueInsight insight)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static Audits.CookieIssueDetails fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<Audits.CookieIssueDetails> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-