Mutable builder for constructing and manipulating URIs.
BuildURI provides a fluent API for constructing URIs by chaining method calls.
Unlike URI, BuildURI is mutable and allows modification of all URI components
(protocol, hostname, port, pathname, search params, hash).
// Building from scratch consturi2 = BuildURI.from() .protocol('https') .hostname('api.example.com') .port('8080') .pathname('/v1/data') .URI(); // Convert to immutable URI
Mutable builder for constructing and manipulating URIs.
BuildURI provides a fluent API for constructing URIs by chaining method calls. Unlike URI, BuildURI is mutable and allows modification of all URI components (protocol, hostname, port, pathname, search params, hash).
Example