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

9
LINES

< > BotCompany Repo | #1015904 // snippetImageURL_noHttps - Java is still bitchy

JavaX fragment (include)

1  
static S snippetImageURL_noHttps(S snippetID) {
2  
  ret snippetImageURL_noHttps(snippetID, "png");
3  
}
4  
5  
static S snippetImageURL_noHttps(S snippetID, S contentType) {
6  
  ret snippetImageURL(snippetID, contentType)
7  
    .replace("https://www.botcompany.de:8443/", "http://www.botcompany.de:8080/")
8  
    .replace("https://botcompany.de/", "http://botcompany.de/");
9  
}

Author comment

Began life as a copy of #1002137

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1015904
Snippet name: snippetImageURL_noHttps - Java is still bitchy
Eternal ID of this version: #1015904/2
Text MD5: 2b824b45fee191616566f16146230a54
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-06-05 13:41:09
Source code size: 365 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 464 / 490
Version history: 1 change(s)
Referenced in: [show references]