static void printAllCookies() { pcall { Iterable<S> it = cast getCookieHandler(); if (it == null) { print("No cookie handler."); ret; } print("Cookies:"); for (S name : it) print(" " + name + " = " + getCookie(name)); print(); print("Cookie Queue:"); for (O cookie : (L) get(getCookieHandler(), "queue")) print(" " + call(cookie, "getHTTPHeader")); print(); } }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003107 |
| Snippet name: | printAllCookies |
| Eternal ID of this version: | #1003107/1 |
| Text MD5: | 3a5118d180de6a365f0f308ca8bdd43c |
| Author: | stefan |
| Category: | eleu / internet |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-04-30 22:52:02 |
| Source code size: | 440 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 789 / 782 |
| Referenced in: | [show references] |