MCPcopy Create free account
hub / github.com/HtmlUnit/htmlunit / isHttpOnly

Method isHttpOnly

src/main/java/org/htmlunit/http/Cookie.java:201–203  ·  view source on GitHub ↗

Returns whether or not this cookie is HttpOnly (i.e. not available in JS). @see Wikipedia @return whether or not this cookie is HttpOnly (i.e. not available in JS).

()

Source from the content-addressed store, hash-verified

199 * @return whether or not this cookie is HttpOnly (i.e. not available in JS).
200 */
201 public boolean isHttpOnly() {
202 return isHttpOnly_;
203 }
204
205 /**
206 * @return the SameSite value or {@code null} if not set.

Callers 10

testSimpleCookieMethod · 0.95
propertiesMethod · 0.95
toStringMethod · 0.95
httpOnlyMethod · 0.45
getCookieMethod · 0.45
matchMethod · 0.45
toHttpClientMethod · 0.45

Calls

no outgoing calls

Tested by 6

testSimpleCookieMethod · 0.76
propertiesMethod · 0.76
httpOnlyMethod · 0.36