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

8
LINES

< > BotCompany Repo | #1002896 // doPostWithTimeout

JavaX fragment (include)

1  
static S doPostWithTimeout(Map urlParameters, S url, int timeout) {
2  
  ret doPostWithTimeout(makePostData(urlParameters), url, timeout);
3  
}
4  
5  
static String doPostWithTimeout(String urlParameters, String url, int timeout) ctex {
6  
  URL _url = new URL(url);
7  
  return doPost(urlParameters, setURLConnectionTimeouts(_url.openConnection(), timeout), _url);
8  
}

Author comment

Began life as a copy of #1000565

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: #1002896
Snippet name: doPostWithTimeout
Eternal ID of this version: #1002896/1
Text MD5: f1f7df26d5982e525ccdd444a769abdf
Author: stefan
Category: javax / networking
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-02 20:04:52
Source code size: 358 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 813 / 762
Referenced in: [show references]