public static interface ProxyProvider.AddressSpec
Modifier and Type | Method and Description |
---|---|
ProxyProvider.Builder |
address(InetSocketAddress address)
Deprecated.
as of 1.2.0. Prefer using
socketAddress(SocketAddress) .
This method will be removed in 1.3.0. |
ProxyProvider.Builder |
address(Supplier<? extends InetSocketAddress> addressSupplier)
Deprecated.
as of 1.2.0. Prefer using
socketAddress(SocketAddress) .
This method will be removed in 1.3.0. |
ProxyProvider.Builder |
host(String host)
The proxy host to connect to.
|
default ProxyProvider.Builder |
socketAddress(SocketAddress address)
The address to connect to.
|
default ProxyProvider.Builder |
socketAddress(Supplier<? extends SocketAddress> addressSupplier)
The supplier for the address to connect to.
|
ProxyProvider.Builder host(String host)
host
- The proxy host to connect to.this
@Deprecated ProxyProvider.Builder address(InetSocketAddress address)
socketAddress(SocketAddress)
.
This method will be removed in 1.3.0.address
- The address to connect to.this
default ProxyProvider.Builder socketAddress(SocketAddress address)
address
- The address to connect to.this
@Deprecated ProxyProvider.Builder address(Supplier<? extends InetSocketAddress> addressSupplier)
socketAddress(SocketAddress)
.
This method will be removed in 1.3.0.addressSupplier
- The supplier for the address to connect to.this
default ProxyProvider.Builder socketAddress(Supplier<? extends SocketAddress> addressSupplier)
addressSupplier
- The supplier for the address to connect to.this