I have a method that returns an url and I want to call component's method inside href, but this returns me an error, I think it is because I call method in a wrong way
<a title="español" class="es-flag" th:href="${(new HttpHelper.setParameter.arg('lang','es')).build()}">Español</a>