Code example for HttpsURLConnection

Methods: setHostnameVerifier