I have a java.net.URL object that uses the HTTPS protocol, e.g.:
https://www.bla.com
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:
http://www.bla.com
What is the best way to do that?