final void build0(HttpService service) {
        final ServiceWithRoutes<?, ?> serviceWithRoutes = service.as(ServiceWithRoutes.class);
        final Set<Route> fallbackRoutes =
                firstNonNull(serviceWithRoutes != null ? serviceWithRoutes.routes() : null,
                             ImmutableSet.of());

        final List<Route> routes = buildRouteList(fallbackRoutes);
        final HttpService decoratedService = defaultServiceConfigSetters.decorator().apply(service);
        for (String contextPath : contextPaths()) {
            for (Route route : routes) {
                final ServiceConfigBuilder serviceConfigBuilder =
                        defaultServiceConfigSetters.toServiceConfigBuilder(
                                route, contextPath, decoratedService);
                serviceConfigBuilder(serviceConfigBuilder);
            }
        }
    }
A builder class for binding an {@link HttpService} fluently.

@see ServiceBindingBuilder
@see VirtualHostServiceBindingBuilder
core/src/main/java/com/linecorp/armeria/server/AbstractServiceBindingBuilder.java