Http URI. Parse a HTTP URI from a string or byte array. Given a URI <code>http://user@host:port/path/info;param?query#fragment</code> this class will split it into the following undecoded optional elements: <ul> <li>{@link #getScheme()} - http:</li> <li>{@link #getAuthority()} - //name@host:port</li> <li>{@link #getHost()} - host</li> <li>{@link #getPort()} - port</li> <li>{@link #getPath()} - /path/info</li> <li>{@link #getParam()} - param</li> <li>{@link #getQuery()} - query</li> <li>{@link #getFragment()} - fragment</li> </ul>
Parse an authority string into Host and Port <p>Parse a string in the form "host:port", handling IPv4 an IPv6 hosts</p>
A mapping from schemes to their default ports.