private static ServiceConfig findServiceConfig(Server server, HttpService service) {
        for (ServiceConfig cfg : server.config().defaultVirtualHost().serviceConfigs()) {
            if (cfg.service().as(service.getClass()) != null) {
                return cfg;
            }
        }

        throw new Error(); // Never reaches here.
    }
Returns a new {@link ServiceRequestContext} created with the properties of this builder.
core/src/main/java/com/linecorp/armeria/server/ServiceRequestContextBuilder.java