Class UriTemplateUtils


  • public class UriTemplateUtils
    extends Object
    Utility class with URI Template helper methods.
    • Method Detail

      • getUriString

        public static String getUriString​(Map<String,​Object> variables,
                                          com.damnhandy.uri.template.UriTemplate template)
                                   throws URISyntaxException
        Returns evaluated URI for a given URI template.
        Parameters:
        variables - variable map with {uri.var}
        template - URI template
        Returns:
        evaluated URI string
        Throws:
        URISyntaxException - given string cannot be parsed as a URI