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

8
LINES

< > BotCompany Repo | #1002896 // doPostWithTimeout

JavaX fragment (include)

static S doPostWithTimeout(Map urlParameters, S url, int timeout) {
  ret doPostWithTimeout(makePostData(urlParameters), url, timeout);
}

static String doPostWithTimeout(String urlParameters, String url, int timeout) ctex {
  URL _url = new URL(url);
  return doPost(urlParameters, setURLConnectionTimeouts(_url.openConnection(), timeout), _url);
}

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: 726 / 672
Referenced in: [show references]