MCPcopy Index your code
hub / github.com/HtmlUnit/htmlunit / clearCookies

Method clearCookies

src/main/java/org/htmlunit/CookieManager.java:163–169  ·  view source on GitHub ↗

Removes all cookies. If disabled, this does nothing.

()

Source from the content-addressed store, hash-verified

161 * If disabled, this does nothing.
162 */
163 public synchronized void clearCookies() {
164 if (!isCookiesEnabled()) {
165 return;
166 }
167
168 cookies_.clear();
169 }
170}

Callers 2

basicBehaviorMethod · 0.95
clearMethod · 0.45

Calls 2

isCookiesEnabledMethod · 0.95
clearMethod · 0.45

Tested by 1

basicBehaviorMethod · 0.76