Class AssociatedCookie
java.lang.Object
org.openqa.selenium.devtools.v141.network.model.AssociatedCookie
A cookie associated with the request which may or may not be sent with it.
Includes the cookies itself and reasons for blocking or exemption.
-
Constructor Summary
ConstructorsConstructorDescriptionAssociatedCookie(Cookie cookie, List<CookieBlockedReason> blockedReasons, Optional<CookieExemptionReason> exemptionReason) -
Method Summary
Modifier and TypeMethodDescriptionThe reason(s) the cookie was blocked.The cookie object representing the cookie which was not sent.The reason the cookie should have been blocked by 3PCD but is exempted.
-
Constructor Details
-
AssociatedCookie
public AssociatedCookie(Cookie cookie, List<CookieBlockedReason> blockedReasons, Optional<CookieExemptionReason> exemptionReason)
-
-
Method Details
-
getCookie
The cookie object representing the cookie which was not sent. -
getBlockedReasons
The reason(s) the cookie was blocked. If empty means the cookie is included. -
getExemptionReason
The reason the cookie should have been blocked by 3PCD but is exempted. A cookie could only have at most one exemption reason.
-