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)

import org.apache.http.client.HttpClient;
import org.apache.http.impl.client.HttpClients;

static HttpClient apacheHttp_trustingClient() {
  ret HttpClients
    .custom()
    .setHostnameVerifier(AllowAllHostnameVerifier.INSTANCE)
    .build();
}

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: 297 / 326
Version history: 9 change(s)
Referenced in: [show references]