An API for constructing and parsing URIs.

Values
percentEncoderSource Codeshared percentEncoder percentEncoder

Contains methods for percent-encoding.

See http://tools.ietf.org/html/rfc3986#appendix-A for specifications.
By: Stéphane Épardaud
Functions
decodePercentEncodedSource Codeshared String decodePercentEncoded(String str)

Decodes a percent-encoded ASCII string.

By: Stéphane Épardaud
parseSource Codeshared Uri parse(String uri)

Parses a URI

Throws
parseParameterSource Codeshared Parameter parseParameter(String part)

Parses a raw percent-encoded path parameter

Classes
AuthoritySource Codeshared Authority

Represents a URI Authority part (user, password, host and port)

ParameterSource Codeshared Parameter

Represents a URI path segment or query parameter

PathSource Codeshared Path

Represents a URI Path part

PathSegmentSource Codeshared PathSegment

Represents a URI Path segment part

QuerySource Codeshared Query

Represents a URI Query part

UriSource Codeshared Uri

The URI class. See RCF 3986 for specifications.

percentEncoderSource Codeshared percentEncoder

Contains methods for percent-encoding.

See http://tools.ietf.org/html/rfc3986#appendix-A for specifications.
Exceptions
InvalidUriExceptionSource Codeshared InvalidUriException

Thrown when a URI is invalid