{"action":"opened","issue":{"url":"https://api.github.com/repos/square/okhttp/issues/2249","labels_url":"https://api.github.com/repos/square/okhttp/issues/2249/labels{/name}","comments_url":"https://api.github.com/repos/square/okhttp/issues/2249/comments","events_url":"https://api.github.com/repos/square/okhttp/issues/2249/events","html_url":"https://github.com/square/okhttp/issues/2249","id":126837514,"number":2249,"title":"CookieJar - It doesn't exits method removeAll","user":{"login":"moisesvs","id":611586,"avatar_url":"https://avatars.githubusercontent.com/u/611586?v=3","gravatar_id":"","url":"https://api.github.com/users/moisesvs","html_url":"https://github.com/moisesvs","followers_url":"https://api.github.com/users/moisesvs/followers","following_url":"https://api.github.com/users/moisesvs/following{/other_user}","gists_url":"https://api.github.com/users/moisesvs/gists{/gist_id}","starred_url":"https://api.github.com/users/moisesvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moisesvs/subscriptions","organizations_url":"https://api.github.com/users/moisesvs/orgs","repos_url":"https://api.github.com/users/moisesvs/repos","events_url":"https://api.github.com/users/moisesvs/events{/privacy}","received_events_url":"https://api.github.com/users/moisesvs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-15T09:36:11Z","updated_at":"2016-01-15T09:36:11Z","closed_at":null,"body":"Hi! \r\n\r\nIn the new version of the library okHttp 3.0.1 it doesn't exits method removeAll in the new interface CookieJar. In other versiones I had a cookieHandler and I could do a call to method removeAll to remove all cookies of the http client. But now it doesn't existe any similar method. \r\n\r\nHow Can I do it?\r\n\r\nThe old code:\r\nthis.cookieManager = new CookieManager();\r\nthis.cookieManager.setCookiePolicy(CookiePolicy.ACCEPT_ALL);\r\nthis.clientOkHttp.setCookieHandler(cookieManager);\r\n\r\nNew code:\r\n\r\nthis.cookieManager = this.clientOkHttp.cookieJar();\r\nthis.cookieManager.......\r\n\r\nThanks a lot. Regards\r\n\r\n"}}