servicetalk-http-netty/src/main/java/io/servicetalk/http/netty/HttpClients.java
/**
     * Creates a {@link SingleAddressHttpClientBuilder} for a custom address type with default {@link LoadBalancer} and
     * user provided {@link ServiceDiscoverer}.
     *
     * @param serviceDiscoverer The {@link ServiceDiscoverer} to resolve addresses of remote servers to connect to.
     * The lifecycle of the provided {@link ServiceDiscoverer} should be managed by the caller.
     * @param address the {@code UnresolvedAddress} to connect to resolved using the provided {@code serviceDiscoverer}.
     * This address will also be used for the {@link HttpHeaderNames#HOST} using a best effort conversion. Use {@link
     * SingleAddressHttpClientBuilder#unresolvedAddressToHost(Function)} if you want to override that value or
     * {@link SingleAddressHttpClientBuilder#hostHeaderFallback(boolean)} if you want to disable this behavior.
     * @param <U> the type of address before resolution (unresolved address)
     * @param <R> the type of address after resolution (resolved address)
     * @return new builder with provided configuration
     */
Creates a  SingleAddressHttpClientBuilder for a custom address type with default  LoadBalancer and
user provided  ServiceDiscoverer.

@param serviceDiscoverer The  ServiceDiscoverer to resolve addresses of remote servers to connect to.
The lifecycle of the provided  ServiceDiscoverer should be managed by the caller.
@param address the  UnresolvedAddress to connect to resolved using the provided  serviceDiscoverer.
This address will also be used for the  HttpHeaderNames#HOST using a best effort conversion. Use {@link
SingleAddressHttpClientBuilder#unresolvedAddressToHost(Function)} if you want to override that value or
SingleAddressHttpClientBuilder#hostHeaderFallback(boolean) if you want to disable this behavior.
@param  the type of address before resolution (unresolved address)
@param  the type of address after resolution (resolved address)
@return new builder with provided configuration
Creates a SingleAddressHttpClientBuilder for a custom address type with default LoadBalancer and user provided ServiceDiscoverer . @param serviceDiscoverer The ServiceDiscoverer to resolve addresses of remote servers to connect to . The lifecycle of the provided ServiceDiscoverer should be managed by the caller . @param address the UnresolvedAddress to connect to resolved using the provided serviceDiscoverer . This address will also be used for the HttpHeaderNames#HOST using a best effort conversion . Use { @link SingleAddressHttpClientBuilder#unresolvedAddressToHost ( Function ) } if you want to override that value or SingleAddressHttpClientBuilder#hostHeaderFallback ( boolean ) if you want to disable this behavior . @param the type of address before resolution ( unresolved address ) @param the type of address after resolution ( resolved address ) @return new builder with provided configuration
public static <U, R> SingleAddressHttpClientBuilder<U, R> forSingleAddress(
            final ServiceDiscoverer<U, R, ServiceDiscovererEvent<R>> serviceDiscoverer,
            final U address) {
        return new DefaultSingleAddressHttpClientBuilder<>(address, serviceDiscoverer);
    }
public static < U , R > SingleAddressHttpClientBuilder < U , R > forSingleAddress ( final ServiceDiscoverer < U , R , ServiceDiscovererEvent < R > > serviceDiscoverer , final U address ) { return new DefaultSingleAddressHttpClientBuilder < > ( address , serviceDiscoverer ) ; }
Creates a {@link SingleAddressHttpClientBuilder} for a custom address type with default {@link LoadBalancer} and
 user provided {@link ServiceDiscoverer}.
Creates a { @link SingleAddressHttpClientBuilder } for a custom address type with default { @link LoadBalancer } and user provided { @link ServiceDiscoverer } .