title: How to change only the protocol part of a java.net.URL object?
body: <p>I have a java.net.URL object that uses the HTTPS protocol, e.g.:</p>
  
  <pre><code>https://www.bla.com
  </code></pre>
  
  <p>And I have to change only the protocol part of this URL object so that when I call it's toString() method I get this:</p>
  
  <pre><code>http://www.bla.com
  </code></pre>
  
  <p>What is the best way to do that?</p>