public static void configureSettings(ServerBuilder server, ArmeriaSettings settings) {
        configureIfNonNull(settings.getContextPath(), server::baseContextPath);
        configureIfNonNull(settings.getWorkerGroup(), server::workerGroup);
        configureIfNonNull(settings.getBlockingTaskExecutor(), server::blockingTaskExecutor);

        configureIfNonNull(settings.getMaxNumConnections(), server::maxNumConnections);
        configureIfNonNull(settings.getIdleTimeout(), server::idleTimeout);
        configureIfNonNull(settings.getPingInterval(), server::pingInterval);
        configureIfNonNull(settings.getMaxConnectionAge(), server::maxConnectionAge);
        configureIfNonNull(settings.getMaxNumRequestsPerConnection(), server::maxNumRequestsPerConnection);

        configureIfNonNull(settings.getHttp2InitialConnectionWindowSize(),
                           http2InitialConnectionWindowSize -> server.http2InitialConnectionWindowSize(
                                   Ints.saturatedCast(parseDataSize(http2InitialConnectionWindowSize))));
        configureIfNonNull(settings.getHttp2InitialStreamWindowSize(),
                           http2InitialStreamWindowSize -> server.http2InitialStreamWindowSize(
                                   Ints.saturatedCast(parseDataSize(http2InitialStreamWindowSize))));
        configureIfNonNull(settings.getHttp2MaxStreamsPerConnection(), server::http2MaxStreamsPerConnection);
        configureIfNonNull(settings.getHttp2MaxFrameSize(),
                           http2MaxFrameSize -> server.http2MaxFrameSize(
                                   Ints.saturatedCast(parseDataSize(http2MaxFrameSize))));
        configureIfNonNull(settings.getHttp2MaxHeaderListSize(),
                           http2MaxHeaderListSize -> server.http2MaxHeaderListSize(
                                   parseDataSize(http2MaxHeaderListSize)));

        configureIfNonNull(settings.getHttp1MaxInitialLineLength(),
                           http1MaxInitialLineLength -> server.http1MaxInitialLineLength(
                                   Ints.saturatedCast(parseDataSize(http1MaxInitialLineLength))));
        configureIfNonNull(settings.getHttp1MaxHeaderSize(),
                           http1MaxHeaderSize -> server.http1MaxHeaderSize(
                                   Ints.saturatedCast(parseDataSize(http1MaxHeaderSize))));
        configureIfNonNull(settings.getHttp1MaxChunkSize(),
                           http1MaxChunkSize -> server.http1MaxChunkSize(
                                   Ints.saturatedCast(parseDataSize(http1MaxChunkSize))));

        configureIfNonNull(settings.getAccessLog(), accessLog -> configureAccessLog(server, accessLog));
        configureIfNonNull(settings.getAccessLogger(), server::accessLogger);

        configureIfNonNull(settings.getRequestTimeout(), server::requestTimeout);
        configureIfNonNull(settings.getMaxRequestLength(),
                           maxRequestLength -> server.maxRequestLength(parseDataSize(maxRequestLength)));
        configureIfNonNull(settings.getVerboseResponses(), server::verboseResponses);
    }
Configures the {@link ServerBuilder} using the specified {@link ArmeriaSettings}.
spring/boot3-autoconfigure/src/main/java/com/linecorp/armeria/internal/spring/ArmeriaConfigurationSettingsUtil.java