Builder
Helper class for building or manipulating URL references. Not safe for concurrent use.
An absolute hierarchical URL reference follows the pattern: <scheme>://<authority><absolute path>?<query>#<fragment>
An opaque URI follows this pattern: <scheme>:<opaque part>#<fragment>
Use Url.buildUpon to obtain a builder representing an existing URL.
Functions
Appends the given segment to the path.
Encodes the given segment and appends it to the path.
Encodes the key and value and then appends the parameter to the query string.
Clears the the previously set query.
Sets the previously encoded authority.
Sets the previously encoded fragment.
Sets the previously encoded opaque scheme-specific-part.
Sets the previously encoded path.
Sets the previously encoded query.
Encodes and sets the given opaque scheme-specific-part.