On Oct 22, 2012, at 1:54 PM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:
> 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 ?
Yes.
Which part of resolveTemplate() javadoc you find confusing? Can you suggest the wording that would make the javadoc more clear?
Thanks,
Marek
>
> Thanks, Sergey
>
>
>
>