title: How to pass https url to a class' constructor that requires URL object as parameter in Java?
body: <p>Let's say I have a Java class, with one constructor that requires an java.net.URL object.</p>
  
  <p>What can I do if the URL I want to initialize the constructor with is HTTPS?</p>