private ConfigKey<?> parseReqToKey(HttpRequest req) {
        BindingMatch<?> bm = Utils.getBindingMatch(req, "http://*/config/v1/*/*");
        String config = bm.group(2); // See jdisc-bindings.cfg. The port number is implicitly 1, it seems.
        Tuple2<String, String> nns = HttpConfigRequest.nameAndNamespace(config);
        String name = nns.first;
        String namespace = nns.second;        
        String idSegment = "";
        if (bm.groupCount() == 4) {
            idSegment = bm.group(3);
        }
        return new ConfigKey<>(name, idSegment, namespace);
    }
Handler for a list configs of given name operation. Lists all configs in model for a given config name.

@author vegardh
@since 5.1.11
configserver/src/main/java/com/yahoo/vespa/config/server/http/HttpListNamedConfigsHandler.java