Package com.teamdev.jxbrowser.cookie
Interface PartitionKey
public interface PartitionKey
The site (scheme and domain) of the top-level URL where another embedded context sets a cookie.
- Since:
- 7.40.0
-
Method Details
-
site
A scheme and domain of the top-level URL. -
isThirdParty
default boolean isThirdParty()Returns whether the cookie is set in a third-party context.For example, if
http://b.com/which is embedded inhttp://a.com/sets a cookie then this cookie is third-party. But if the cookie is set in the same domain then it is the same-site cookie.
-