I have a site whose URL starts with \"http://\" but that is giving me an exception with the message - Unsupported protocol: https. Is it possible that the site is using HTTP
Another possibility is the HTTP address responding with a 3xx redirect response to an HTTPS URL, which your client tries to follow, but does not support. You can very by capturing the network traffic with tcpdump or wireshark.
There are so many Java HTTP client libraries that do support HTTPS, why not switch to one of those?