docs: public CollectionMatch performUrlMatch(String resourceName) {
          CollectionMatch match = null;
          String longestUrlPattern = null;
          for (String urlPattern : urlPatterns) {
              if (URLMatchingUtils.isExactMatch(resourceName, urlPattern)) {
                  return new CollectionMatch(resourceName, MatchType.EXACT_MATCH);
              } else if (URLMatchingUtils.isPathNameMatch(resourceName, urlPattern)) {
                  longestUrlPattern = URLMatchingUtils.getLongestUrlPattern(longestUrlPattern, urlPattern);
              } else if (URLMatchingUtils.isExtensionMatch(resourceName, urlPattern)) {
                  match = new CollectionMatch(urlPattern, MatchType.EXTENSION_MATCH);
              }
          }
          if (longestUrlPattern != null) {
              match = new CollectionMatch(longestUrlPattern, MatchType.PATH_MATCH);
          }
          return match;
      }