Package org.apache.synapse.util
Class UriTemplateUtils
- java.lang.Object
-
- org.apache.synapse.util.UriTemplateUtils
-
public class UriTemplateUtils extends Object
Utility class with URI Template helper methods.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getUriString(Map<String,Object> variables, com.damnhandy.uri.template.UriTemplate template)
Returns evaluated URI for a given URI template.
-
-
-
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
-
-