public ThriftClientBuilder path(String path) {
        requireNonNull(path, "path");
        checkArgument(!path.isEmpty(), "path is empty.");
        checkArgument(path.charAt(0) == '/', "path: %s (must start with '/')", path);

        this.path = path;
        return this;
    }
Sets the path for the Thrift endpoint.
This method will be useful if your Thrift service is bound to a path.
For example:
<pre>{@code
// A Thrift service is bound to "/thrift"
Server.builder()
      .service("/thrift", THttpService.of(new MyThriftService()))
      .build();

// Set "/thrift" to the Thrift service path.
ThriftClients.builder("https://api.example.com")
             .path("/thrift")
             .build(MyThriftService.XXXIface.class)
}</pre>
thrift/thrift0.13/src/main/java/com/linecorp/armeria/client/thrift/ThriftClientBuilder.java