1 | static void printAllCookies() {
|
2 | pcall {
|
3 | Iterable<S> it = cast getCookieHandler(); |
4 | if (it == null) { print("No cookie handler."); ret; }
|
5 | |
6 | print("Cookies:");
|
7 | for (S name : it) |
8 | print(" " + name + " = " + getCookie(name));
|
9 | print(); |
10 | |
11 | print("Cookie Queue:");
|
12 | for (O cookie : (L) get(getCookieHandler(), "queue")) |
13 | print(" " + call(cookie, "getHTTPHeader"));
|
14 | print(); |
15 | } |
16 | } |
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: | 791 / 783 |
| Referenced in: | [show references] |