URIMatcherHostObject uriho = (URIMatcherHostObject) thisObj;
Map<String, String> urlParts = new HashMap<String, String>();
try {
URITemplate uriTemplate = new URITemplate(template);
boolean uriMatch = uriTemplate.matches(uriho.uriToBeMatched, urlParts);
if (!uriMatch) {
return null;
}
} catch (URITemplateException e) {
throw new ScriptException(e);