MultivaluedMap<String, String> values,
String requestContentType,
String acceptContentTypes) {
for (ClassResourceInfo resource : resources) {
URITemplate uriTemplate = resource.getURITemplate();
MultivaluedMap<String, String> map = new MetadataMap<String, String>();
if (uriTemplate.match(path, map)) {
String subResourcePath = map.getFirst(URITemplate.FINAL_MATCH_GROUP);
OperationResourceInfo ori = findTargetMethod(resource, subResourcePath, httpMethod, map,
requestContentType, acceptContentTypes);
if (ori != null) {
values.putAll(map);