@ 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 .