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