Given a pattern and a full path, extract the URI template variables. URI template
variables are expressed through curly brackets ('{' and '}').
<p>For example: For pattern "/hotels/{hotel}" and path "/hotels/1", this method will
return a map containing "hotel"->"1".
@param pattern the path pattern, possibly containing URI templates
@param path the full path to extract template variables from
@return a map, containing variable names as keys; variables values as values
Given a pattern and a full path, extract the URI template variables. URI template variables are expressed through curly brackets ('{' and '}'). <p>For example: For pattern "/hotels/{hotel}" and path "/hotels/1", this method will return a map containing "hotel"->"1". @param pattern the path pattern, possibly containing URI templates @param path the full path to extract template variables from @return a map, containing variable names as keys; variables values as values