Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

3
LINES

< > BotCompany Repo | #1017995 // makeAbsoluteURL

JavaX fragment (include)

sS makeAbsoluteURL(S baseURL, S url) ctex {
  ret empty(baseURL) ? url : str(new URL(new URL(baseURL), url));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017995
Snippet name: makeAbsoluteURL
Eternal ID of this version: #1017995/4
Text MD5: 5403ed6a2063ff235b09427c81593519
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-10 12:46:33
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 381 / 398
Version history: 3 change(s)
Referenced in: [show references]