Would it be possible add a new class called URI to facilitate building URIs
to use in client calls? It can be cumbersome to either build the uri as a
string by hand or use the heavy Reference class.
I suggest adding a lightweight class called URI that allows users to easily
build URIs like the following:
URI u = new URI(Protocol.HTTP, "localhost");
u.addPath("test").addParameter("name", "value");
u.toString() => http://localhost:80/test/?name=value
These URIs could be passed into a copy constructor in Client with minimal
interference with the rest of the code.
Unless the capability already exists somewhere that I didn't see, I can
create a patch if you think the project would benefit from something like
this.
Kevin