An API for constructing and parsing URIs.

Values
percentEncodershared percentEncoder percentEncoder

Contains methods for percent-encoding.

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

Decodes a percent-encoded ASCII string.

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

Parses a URI

Throws
parseParametershared Parameter parseParameter(String part)

Parses a raw percent-encoded path parameter

Classes
Authorityshared Authority

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

Parametershared Parameter

Represents a URI path segment or query parameter

Pathshared Path

Represents a URI Path part

PathSegmentshared PathSegment

Represents a URI Path segment part

Queryshared Query

Represents a URI Query part

Urishared Uri

The URI class. See RCF 3986 for specifications.

percentEncodershared percentEncoder

Contains methods for percent-encoding.

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

Thrown when a URI is invalid