// o can be a class, then we search for a static method called "html". static O callExtendedHtmlMethod(Object o, S uri) { ret callExtendedHtmlMethod(o, uri, null); } static O callExtendedHtmlMethod(Object o, S uri, Map<S, S> params) { O s = callOpt(o, "html", uri, params); if (s == null) s = callOpt(o, "html", uri); if (s == null) s = callOpt(o, "html"); ret s; }
Began life as a copy of #1001959
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004437 |
Snippet name: | callExtendedHtmlMethod - also accepts responses of other type than String (e.g. NanoHTTPD.Response) |
Eternal ID of this version: | #1004437/1 |
Text MD5: | 630101b936069b6852e37e7debd03448 |
Author: | stefan |
Category: | |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-16 23:18:56 |
Source code size: | 398 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 621 / 601 |
Referenced in: | [show references] |