static List<BindingPattern> bindingPattern(Collection<Integer> ports) {
        if (ports.isEmpty()) return defaultBindings();
        return ports.stream()
                    .map(s -> List.of((BindingPattern) SystemBindingPattern.fromHttpPortAndPath(s, DEFAULT_BINDING.path()),
                                      (BindingPattern) SystemBindingPattern.fromHttpPortAndPath(s, DEFAULT_BINDING_NO_SLASH.path())))
                    .flatMap(List::stream)
                    .toList();
    }
Component definition for {@link com.yahoo.search.handler.SearchHandler}

@author bjorncs
config-model/src/main/java/com/yahoo/vespa/model/container/xml/SearchHandler.java