toHttpUrl

Returns a new HttpUrl representing this.

Throws

If this is not a well-formed HTTP or HTTPS URL.