• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to connect to HTTPS url using java URL Class  RSS feed

 
Ramesh Shanmugam
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to connect to HTTPS url from a java method url.openConnection(jdk version 1.4.2) under java.net.URL package without going for installation of any protocol handlers..
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't using java.net.URL with an HTTPS URL work? I think it should.

Alternatively, you can use the javax.net.ssl.HttpsURLConnection class.
 
Vesa Tanhua-Tyrkk�
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hopefully this helpsSafe Mode Java HTTP POST Client
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!