There is a clean way to build this examples with Apache URIBuilder?
"http://host/path", passing "path2" -> "http://host/path/path2"
"http://host/path", passing "/path2" -> "http://host/path2"
"resolve" method is not working, it always return:
http://host/path2
Thanks.