@Override
    public RestClientBuilder contextHook(Supplier<? extends AutoCloseable> contextHook) {
        return (RestClientBuilder) super.contextHook(contextHook);
    }
Returns a newly-created web client based on the properties of this builder.

@throws IllegalArgumentException if the scheme of the {@code uri} specified in
                                 {@link RestClient#builder(String)} or
                                 {@link RestClient#builder(URI)} is not an HTTP scheme
core/src/main/java/com/linecorp/armeria/client/RestClientBuilder.java