src/main/java/com/linecorp/armeria/client/Clients.java
/**
     * Creates a new client that connects to the specified {@link URI} using an alternative
     * {@link RemoteInvokerFactory}.
     *
     * @param remoteInvokerFactory an alternative {@link RemoteInvokerFactory}
     * @param uri the URI of the server endpoint
     * @param interfaceClass the type of the new client
     * @param options the {@link ClientOptionValue}s
     */
Creates a new client that connects to the specified  URI using an alternative
RemoteInvokerFactory.

@param remoteInvokerFactory an alternative  RemoteInvokerFactory
@param uri the URI of the server endpoint
@param interfaceClass the type of the new client
@param options the  ClientOptionValues
Creates a new client that connects to the specified URI using an alternative RemoteInvokerFactory . @param remoteInvokerFactory an alternative RemoteInvokerFactory @param uri the URI of the server endpoint @param interfaceClass the type of the new client @param options the ClientOptionValues
public static <T> T newClient(RemoteInvokerFactory remoteInvokerFactory, URI uri, Class<T> interfaceClass,
                                  ClientOptionValue<?>... options) {
        return new ClientBuilder(uri).remoteInvokerFactory(remoteInvokerFactory).options(options)
                                     .build(interfaceClass);
    }
public static < T > T newClient ( RemoteInvokerFactory remoteInvokerFactory , URI uri , Class < T > interfaceClass , ClientOptionValue < ? > ... options ) { return new ClientBuilder ( uri ) . remoteInvokerFactory ( remoteInvokerFactory ) . options ( options ) . build ( interfaceClass ) ; }
Creates a new client that connects to the specified {@link URI} using an alternative
 {@link RemoteInvokerFactory}.
Creates a new client that connects to the specified { @link URI } using an alternative { @link RemoteInvokerFactory } .