Class BlockedSetCookieWithReason
java.lang.Object
org.openqa.selenium.devtools.v85.network.model.BlockedSetCookieWithReason
A cookie which was not stored from a response with the corresponding reason.
-
Constructor Summary
ConstructorsConstructorDescriptionBlockedSetCookieWithReason
(List<SetCookieBlockedReason> blockedReasons, String cookieLine, Optional<Cookie> cookie) -
Method Summary
Modifier and TypeMethodDescriptionThe reason(s) this cookie was blocked.The cookie object which represents the cookie which was not stored.The string representing this individual cookie as it would appear in the header.
-
Constructor Details
-
BlockedSetCookieWithReason
public BlockedSetCookieWithReason(List<SetCookieBlockedReason> blockedReasons, String cookieLine, Optional<Cookie> cookie)
-
-
Method Details
-
getBlockedReasons
The reason(s) this cookie was blocked. -
getCookieLine
The string representing this individual cookie as it would appear in the header. This is not the entire "cookie" or "set-cookie" header which could have multiple cookies. -
getCookie
The cookie object which represents the cookie which was not stored. It is optional because sometimes complete cookie information is not available, such as in the case of parsing errors.
-