private void addRouteBuilder(RouteBuilder routeBuilder, Set<HttpMethod> methods) {
        final Set<HttpMethod> methodSet = routeBuilders.computeIfAbsent(
                routeBuilder, key -> EnumSet.noneOf(HttpMethod.class));

        for (HttpMethod method : methods) {
            if (!methodSet.add(method)) {
                throw new IllegalArgumentException("duplicate HTTP method: " + method +
                                                   ", for: " + routeBuilder);
            }
        }
    }
Sets the path pattern that an {@link HttpService} will be bound to, only supporting
{@link HttpMethod#CONNECT} requests.
Please refer to the <a href="https://armeria.dev/docs/server-basics#path-patterns">Path patterns</a>
in order to learn how to specify a path pattern.

@throws IllegalArgumentException if the specified path pattern is invalid
core/src/main/java/com/linecorp/armeria/server/AbstractBindingBuilder.java