public static interface ClientProxyOptions.AddressSpec
| Modifier and Type | Method and Description |
|---|---|
ClientProxyOptions.Builder |
address(java.net.InetSocketAddress address)
The address to connect to.
|
ClientProxyOptions.Builder |
address(java.util.function.Supplier<? extends java.net.InetSocketAddress> addressSupplier)
The supplier for the address to connect to.
|
ClientProxyOptions.Builder |
host(java.lang.String host)
The proxy host to connect to.
|
ClientProxyOptions.Builder host(java.lang.String host)
host - The proxy host to connect to.thisClientProxyOptions.Builder address(java.net.InetSocketAddress address)
address - The address to connect to.thisClientProxyOptions.Builder address(java.util.function.Supplier<? extends java.net.InetSocketAddress> addressSupplier)
addressSupplier - The supplier for the address to connect to.this