public override HttpURLConnection createConnection(URL arg0) { URL url = new URL("https://developer.huawei.com"); URLConnection rulConnection = url.openConnection(); HttpURLConnection httpUrlConnection = rulConnection.toType <HttpURLConnection>(); return(httpUrlConnection); }