I want to open a stream to a httpS URL and read the data.
Kindly let me know how to do it.
Regards
Chaitanya
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Here’s a Sun tutorial on Reading from / Writing to URL connection.
Opening HTTPS connection is no different from opening HTTP connection; if you need to use https-specific methods you can class cast the result of
url.openConnection()to HttpsURLConnection: