return candidates.get(0);
}
}
// 0 found after checking a matcher, or more than 1 found after checking all matchers
throw new ResourceNotFoundException("Unable to find a single, distinct request definition matching incoming request for resource "
+ endpoint.getUrl());
}