Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SeleniumHQ/selenium
/ isHttpOnly
Method
isHttpOnly
java/src/org/openqa/selenium/Cookie.java:201–203 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
199
}
200
201
public
boolean isHttpOnly() {
202
return
isHttpOnly;
203
}
204
205
public
@Nullable Date getExpiry() {
206
return
expiry == null ? null :
new
Date(expiry.getTime());
Callers
9
testRetainsHttpOnlyFlag
Method · 0.95
testCookiesShouldAllowHttpOnlyToBeSet
Method · 0.95
testHttpOnlyDefaultsToFalse
Method · 0.95
toJson
Method · 0.95
canHandleHttpOnlyCookie
Method · 0.45
addCookieOnServerSide
Method · 0.45
canAddAndGetCookie
Method · 0.45
addCookieOnServerSide
Method · 0.45
addCookie
Method · 0.45
Calls
no outgoing calls
Tested by
8
testRetainsHttpOnlyFlag
Method · 0.76
testCookiesShouldAllowHttpOnlyToBeSet
Method · 0.76
testHttpOnlyDefaultsToFalse
Method · 0.76
canHandleHttpOnlyCookie
Method · 0.36
addCookieOnServerSide
Method · 0.36
canAddAndGetCookie
Method · 0.36
addCookieOnServerSide
Method · 0.36
addCookie
Method · 0.36