@Override
    public ClientBuilderParams validateParams(ClientBuilderParams params) {
        if (ClientBuilderParamsUtil.isPreprocessorUri(params.uri()) &&
            params.options().clientPreprocessors().rpcPreprocessors().isEmpty()) {
            throw new IllegalArgumentException(
                    "At least one rpcPreprocessor must be specified for rpc-based clients " +
                    "with sessionProtocol '" + params.scheme().sessionProtocol() + "'.");
        }
        return super.validateParams(params);
    }
Creates a new instance from the specified {@link ClientFactory} that supports the "none+http" scheme.

@throws IllegalArgumentException if the specified {@link ClientFactory} does not support HTTP
thrift/thrift0.13/src/main/java/com/linecorp/armeria/internal/client/thrift/THttpClientFactory.java