开发者

Is there a way to get the full Cookie data from CookieManager and/or a WebView?

开发者 https://www.devze.com 2023-02-22 10:09 出处:网络
Is there any way to get all of a Cookie\'s attributes (expires, domain, path, etc) instead of just the value from the CookieManager?

Is there any way to get all of a Cookie's attributes (expires, domain, path, etc) instead of just the value from the CookieManager?

I would like to use the Cook开发者_JAVA技巧ieManager and the CookieSyncManager to make it easy to persist cookies across lifecycles and WebViews, but the getCookie() method only returns the NAME=VALUE, and gives no way to modify or read any of the other data about the Cookie.

Also, is there a way to get the Cookies from a WebView?

Thanks

0

精彩评论

暂无评论...
验证码 换一张
取 消