Como eu consigo abrir uma conexão https com o objeto URL?
eu consegui com um este comando com http:
URL origUrl = new URL(“<a href="http://xn--endereo-zxa/arquivo.ext">http://endereço/arquivo.ext</a>”);
origUrl.openStream()
Com https é o mesmo comando?