Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HtmlUnit/htmlunit
/ getSameSite
Method
getSameSite
src/main/java/org/htmlunit/http/Cookie.java:208–210 ·
view source on GitHub ↗
@return the SameSite value or null if not set.
()
Source
from the content-addressed store, hash-verified
206
* @
return
the SameSite value or {@code null}
if
not set.
207
*/
208
public
String getSameSite() {
209
return
samesite_;
210
}
211
212
/**
213
* {@inheritDoc}
Callers
15
testCookieWithSameSite
Method · 0.95
testCookieWithSameSiteLax
Method · 0.95
testCookieWithSameSiteNone
Method · 0.95
testCookieWithAllAttributes
Method · 0.95
properties
Method · 0.95
toString
Method · 0.95
sameSite
Method · 0.45
sameSiteOriginOtherSubdomain
Method · 0.45
sameSiteIncludeFromSameDomain
Method · 0.45
sameSiteIncludeFromSubDomain
Method · 0.45
sameSiteIFrameFromSameDomain
Method · 0.45
sameSiteIFrameFromSubDomain
Method · 0.45
Calls
no outgoing calls
Tested by
12
testCookieWithSameSite
Method · 0.76
testCookieWithSameSiteLax
Method · 0.76
testCookieWithSameSiteNone
Method · 0.76
testCookieWithAllAttributes
Method · 0.76
properties
Method · 0.76
sameSite
Method · 0.36
sameSiteOriginOtherSubdomain
Method · 0.36
sameSiteIncludeFromSameDomain
Method · 0.36
sameSiteIncludeFromSubDomain
Method · 0.36
sameSiteIFrameFromSameDomain
Method · 0.36
sameSiteIFrameFromSubDomain
Method · 0.36
sameSite
Method · 0.36