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

9
LINES

< > BotCompany Repo | #1014357 // apacheHttp_trustingClient - does not check certificates - TODO

JavaX fragment (include)

1  
import org.apache.http.client.HttpClient;
2  
import org.apache.http.impl.client.HttpClients;
3  
4  
static HttpClient apacheHttp_trustingClient() {
5  
  ret HttpClients
6  
    .custom()
7  
    .setHostnameVerifier(AllowAllHostnameVerifier.INSTANCE)
8  
    .build();
9  
}

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: #1014357
Snippet name: apacheHttp_trustingClient - does not check certificates - TODO
Eternal ID of this version: #1014357/10
Text MD5: 1e4ce35935a90650cd6f9b0d51777968
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 14:26:14
Source code size: 254 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 377 / 409
Version history: 9 change(s)
Referenced in: [show references]