I'm confused about how the combination of UriBuilder.resolveTemplate(0
and UriBuilder.build() is supposed to work correctly together.
Consider:
UriBuilder ub = UriBuilder.fromPath("
http://localhost/{a}/{b}?bar={bar}");
ub.resolveTemplate("a", "1");
ub.build("2", "3");
Do we end up with
"
http://localhost/1/2?bar=3}"
in the end ?
Thanks, Sergey