How do I send GET requests using the Jersey Client API to a server which runs on the HTTPS protocol. Is there any sample code that I can use ?
For Jersey 2 you'd need to modify the code:
return ClientBuilder.newBuilder() .withConfig(config) .hostnameVerifier(new TrustAllHostNameVerifier()) .sslContext(ctx) .build();
https://gist.github.com/JAlexoid/b15dba31e5919586ae51 http://www.panz.in/2015/06/jersey2https.html