UriTemplate uriTemplate = UriTemplate.fromTemplate(halLink.getHref());
for (int i = 0; i < args.length; i++) {
for (Annotation annotation : parameterAnnotations[i]) {
if (annotation.annotationType() == UriVariable.class) {
UriVariable uriVariable = (UriVariable) annotation;
assignTemplateValue(uriTemplate, uriVariable.name(), args[i]);
}
}
}
for (int i = 0; i < link.uriValues().length; i++) {