Hi Kumar,
The class that you are using has changed in you PI jvm version. You should check your PI jvm version and later go to the API and to check the class HttpsURLConnection.
Check for example this case:
I show you that thread that you can see that the class can change depending your PI jvm.
Regards.








