spring-hateoas-ext/src/main/java/de/escalon/hypermedia/affordance/Affordance.java
@Override
    public Affordance expand(Map<String, ? extends Object> arguments) {
        UriTemplate template = new UriTemplate(partialUriTemplate.asComponents()
                .toString());
        String expanded = template.expand(arguments)
                .toASCIIString();
        return new Affordance(expanded, linkParams, actionDescriptors);
    }
@Override
    public Affordance expand(Map<String, ? extends Object> arguments) {
        UriTemplate template = new UriTemplate(partialUriTemplate.asComponents()
                .toString());
        String expanded = template.expand(arguments)
                .toASCIIString();
        return new Affordance(expanded, linkParams, actionDescriptors);
    }
Expands template variables, arguments must satisfy all required template variables, unsatisfied optional
arguments will be removed.

@param arguments to expansion
@return expanded affordance