public interface PartitionKey
Modifier and Type | Method and Description |
---|---|
default boolean |
isThirdParty()
Returns whether the cookie is set in a third-party context.
|
default java.lang.String |
site()
A scheme and domain of the top-level URL.
|
default java.lang.String site()
default boolean isThirdParty()
For example, if http://b.com/
which is embedded in http://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.