Libraryless. Click here for Pure Java version (1514L/10K).
static URLConnection openConnection(S url) ctex { ret openConnection(new URL(url)); } static URLConnection openConnection(URL url) ctex { ping(); ifndef LeanMode callOpt(javax(), 'recordOpenURLConnection, str(url)); endifndef ret url.openConnection(); }
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, elmgxqgtpvxh, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004726 |
Snippet name: | openConnection - synonym of URL.openConnection(), but with ping() and registering with VM |
Eternal ID of this version: | #1004726/5 |
Text MD5: | a5689aa918c8fef53c5bd6de2d40e54d |
Transpilation MD5: | 760943f1f6d8b361f89ec920018f9142 |
Author: | stefan |
Category: | javax / networking |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-06-28 00:25:47 |
Source code size: | 276 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 677 / 1021 |
Version history: | 4 change(s) |
Referenced in: | [show references] |