ViewContext vc = createViewContext(handler);
LinkTool link = new LinkTool();
link.init(vc);
link.configure(Collections.singletonMap(LinkTool.AUTO_IGNORE_PARAMETERS_KEY, Boolean.FALSE));
String url = link.setRelative("/target")
.addQueryData("a", "c")
.addAllParameters()
.toString();