@Override
    public void getConfig(ConnectorConfig.Builder connectorBuilder) {
        connectorBuilder.listenPort(listenPort);
        connectorBuilder.name(name);
        connectorBuilder
                .accessLog(new ConnectorConfig.AccessLog.Builder()
                .remoteAddressHeaders(List.of("x-forwarded-for"))
                .remotePortHeaders(List.of("X-Forwarded-Port"))
                .content(requestContentLogging.stream()
                        .map(item -> new ConnectorConfig.AccessLog.Content.Builder()
                                .sampleRate(item.samplesPerSecond())
                                .pathPrefix(item.pathPrefix())
                                .maxSize(item.maxBytes()))
                        .toList()));
        sslProviderComponent.amendConnectorConfig(connectorBuilder);
    }
@author Einar M R Rosenvinge
@author bjorncs
@author mortent
config-model/src/main/java/com/yahoo/vespa/model/container/http/ConnectorFactory.java