HttpEndpointSpecification withRoute(Route route) {
        requireNonNull(route, "route");
        if (route == this.route) {
            return this;
        }
        return new HttpEndpointSpecification(order, route, pathVariables, serviceDescriptor,
                                             methodDescriptor, parameters, httpRule);
    }
Returns a new {@link HttpEndpointSpecification} with the specified {@link Route}.
grpc/src/main/java/com/linecorp/armeria/internal/server/grpc/HttpEndpointSpecification.java