Home » Java » How can I set the tls protocol to httpclient

How can I set the tls protocol to httpclient

Posted by: admin June 30, 2018 Leave a comment

Questions:

I’ am working with java 7 and I have in my code HttpClient client = new new DefaultHttpClient();
I have to use the tls protocol.
How can I do this?

Answers: